Documentation
¶
Index ¶
- func Archive(ctx context.Context, gitDir, tmpDir string) (string, error)
- func CommitID(ctx context.Context, gitDir string) (string, error)
- func CreateArchive(ctx context.Context, repo, dst string) error
- func DownloadExtractArchive(ctx context.Context, store store.Store, workspace, key string) error
- func InitSubmodules(ctx context.Context, gitDir string) error
- func ListSubmodules(ctx context.Context, gitDir string) ([]string, error)
- func RepoRoot(dir string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateArchive ¶
CreateArchive creates a Git archive at the given path
func DownloadExtractArchive ¶
DownloadExtractArchive downloads a Zip of a Git repo and unzips it
func InitSubmodules ¶
InitSubmodules call "git submodule init"
func ListSubmodules ¶
ListSubmodules returns a list of paths to submodules within a git repo
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.