Documentation ¶ Index ¶ Variables type Git func New(ctx context.Context, url string, revision string) (*Git, error) func (g Git) Get(ctx context.Context, path string) ([]byte, error) func (g Git) Join(elem ...string) string func (g Git) ReadDir(ctx context.Context, path string) ([]string, error) func (g Git) Stat(ctx context.Context, path string) (*fs.FileInfo, error) Constants ¶ This section is empty. Variables ¶ View Source var ( ErrRetrievalFailed = errors.New("failed to retrieve a Git repository") ) Functions ¶ This section is empty. Types ¶ type Git ¶ type Git struct { // contains filtered or unexported fields } func New ¶ func New(ctx context.Context, url string, revision string) (*Git, error) func (Git) Get ¶ func (g Git) Get(ctx context.Context, path string) ([]byte, error) func (Git) Join ¶ func (g Git) Join(elem ...string) string func (Git) ReadDir ¶ func (g Git) ReadDir(ctx context.Context, path string) ([]string, error) func (Git) Stat ¶ func (g Git) Stat(ctx context.Context, path string) (*fs.FileInfo, error) Source Files ¶ View all Source files git.go Directories ¶ Show internal Expand all Path Synopsis bounded Click to show internal directories. Click to hide internal directories.