package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GetBranchesByPath returns a branch by its path if limit = 0 it will not limit.
GetDefaultBranch gets default branch of repository.
No description provided by the author
OpenRepository opens the repository at the given relative path with the provided context.
No description provided by the author
No description provided by the author
RepositoryFromContextOrOpen attempts to get the repository from the context or just opens it.
RepositoryFromContextOrOpenPath attempts to get the repository from the context or just opens it Deprecated: Use RepositoryFromContextOrOpen instead.
SetDefaultBranch sets default branch of repository.
WalkReferences walks all the references from the repository.

# Variables

RepositoryContextKey is a context key.

# Interfaces

No description provided by the author