MCPcopy Create free account
hub / github.com/libgit2/git2go / Direction

Method Direction

refspec.go:44–47  ·  view source on GitHub ↗

Direction returns the refspec's direction

()

Source from the content-addressed store, hash-verified

42
43// Direction returns the refspec's direction
44func (s *Refspec) Direction() ConnectDirection {
45 direction := C.git_refspec_direction(s.ptr)
46 return ConnectDirection(direction)
47}
48
49// Src returns the refspec's source specifier
50func (s *Refspec) Src() string {

Callers 1

TestRefspecFunction · 0.80

Calls 1

ConnectDirectionTypeAlias · 0.85

Tested by 1

TestRefspecFunction · 0.64