# Functions
EnableMetrics will enable metrics collection for git mirrors.
IsCommitHash returns whether or not a string is a abbreviated Hash or 40 char SHA-1 or 64 char SHA-256 hash.
IsCommitHash returns whether or not a string is a 40 char SHA-1 or 64 char SHA-256 hash.
NewRepoPool will create mirror repositories based on given config.
NewRepository creates new repository from the given config.
ParseCommitWithChangedFilesList will parse following output of 'show/log' command with `--name-only`, `--pretty=format:%H` flags
72ea9c9de6963e97ac472d9ea996e384c6923cca
80e11d114dd3aa135c18573402a8e688599c69e0 one/readme.yaml one/hello.tf two/readme.yaml.
# Structs
Auth represents authentication config of the repository.
No description provided by the author
DefaultConfig is the default config for repositories if not set at repo level.
RepoPool represents the collection of mirrored repositories it provides simple wrapper around Repository methods.
RepoPoolConfig is the configuration to create repoPool.
Repository represents the mirrored repository of the given remote.
RepositoryConfig represents the config for the mirrored repository of the given remote.
Worktree represents maintained worktree on given link.
No description provided by the author