Documentation ¶
Index ¶
- func Exists(filepath string) bool
- func NewLocalRepo(ctx context.Context, repopath string) (repository.Repository, error)
- func NewUpstreamRepo(ctx context.Context, repopath, url, commitHash string, progressFn func(string)) (repository.Repository, *object.Commit, error)
- func NewUpstreamRepo2(ctx context.Context, repopath, url string) (repository.Repository, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLocalRepo ¶ added in v0.0.3
func NewLocalRepo(ctx context.Context, repopath string) (repository.Repository, error)
func NewUpstreamRepo ¶ added in v0.0.3
func NewUpstreamRepo(ctx context.Context, repopath, url, commitHash string, progressFn func(string)) (repository.Repository, *object.Commit, error)
func NewUpstreamRepo2 ¶ added in v0.0.12
func NewUpstreamRepo2(ctx context.Context, repopath, url string) (repository.Repository, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.