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

Method Force

refspec.go:76–79  ·  view source on GitHub ↗

Force returns the refspec's force-update setting

()

Source from the content-addressed store, hash-verified

74
75// Force returns the refspec's force-update setting
76func (s *Refspec) Force() bool {
77 force := C.git_refspec_force(s.ptr)
78 return force != 0
79}
80
81// String returns the refspec's string representation
82func (s *Refspec) String() string {

Callers 1

TestRefspecFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestRefspecFunction · 0.64