git

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultName = "git"
)

nolint:revive

Variables

This section is empty.

Functions

func NewDefault

func NewDefault(name string) dukkha.Renderer

Types

type FetchSpec

type FetchSpec struct {
	rs.BaseField

	// Repo you want to fetch from
	Repo string `yaml:"repo"`

	// Ref is the git object reference, usually branch/tag name, defaults to `HEAD`
	Ref string `yaml:"ref"`

	// Path of the target file
	Path string `yaml:"path"`
}

type SideBandReader

type SideBandReader struct {
	// contains filtered or unexported fields
}

func (*SideBandReader) Read

func (sbr *SideBandReader) Read(p []byte) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳