Documentation ¶ Index ¶ func FileExistsInTree(tree *object.Tree, path string) bool func GetAuth() (transport.AuthMethod, error) func GetFileContentFromTree(tree *object.Tree, path string) ([]byte, error) type ClonedRepo func CloneRepo(c config.GitConfig) (*ClonedRepo, error) func (r *ClonedRepo) Refresh() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func FileExistsInTree ¶ func FileExistsInTree(tree *object.Tree, path string) bool func GetAuth ¶ func GetAuth() (transport.AuthMethod, error) func GetFileContentFromTree ¶ func GetFileContentFromTree(tree *object.Tree, path string) ([]byte, error) Types ¶ type ClonedRepo ¶ type ClonedRepo struct { Repo *git.Repository Branch string Tree *object.Tree Ref *plumbing.Reference Commit *object.Commit } func CloneRepo ¶ func CloneRepo(c config.GitConfig) (*ClonedRepo, error) func (*ClonedRepo) Refresh ¶ func (r *ClonedRepo) Refresh() error Source Files ¶ View all Source files auth.gorepo.go Click to show internal directories. Click to hide internal directories.