Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrOnlyForEachRefAllowed indicates a command other than for-each-ref is being used with ForEachRefCmd ErrOnlyForEachRefAllowed = errors.New("only for-each-ref allowed") // ErrNoPostSeparatorArgsAllowed indicates post separator args exist when none are allowed ErrNoPostSeparatorArgsAllowed = errors.New("post separator args not allowed") )
View Source
var (
// FindBranchNames is exported to be used in other packages
FindBranchNames = _findBranchNames
)
Functions ¶
func DefaultBranchName ¶ added in v0.23.0
DefaultBranchName looks up the name of the default branch given a repoPath
func NewServer ¶
func NewServer(rs *rubyserver.Server) gitalypb.RefServiceServer
NewServer creates a new instance of a grpc RefServer
Types ¶
type ForEachRefCmd ¶ added in v1.72.0
ForEachRefCmd is a command specialized for for-each-ref
func (ForEachRefCmd) IsCmd ¶ added in v1.72.0
func (f ForEachRefCmd) IsCmd()
IsCmd is to satisfy the git.Cmd interface
func (ForEachRefCmd) ValidateArgs ¶ added in v1.72.0
func (f ForEachRefCmd) ValidateArgs() ([]string, error)
ValidateArgs validates and returns the flags and arguments for the for-each-ref command
Click to show internal directories.
Click to hide internal directories.