MCPcopy
hub / github.com/go-git/go-git / WantWrite

Method WantWrite

plumbing/format/packfile/object_pack.go:76–78  ·  view source on GitHub ↗

WantWrite checks if this ObjectToPack was marked as WantWrite before

()

Source from the content-addressed store, hash-verified

74
75// WantWrite checks if this ObjectToPack was marked as WantWrite before
76func (o *ObjectToPack) WantWrite() bool {
77 return o.Offset == 1
78}
79
80// SetOriginal sets both Original and saves size, type and hash. If object
81// is nil Original is set but previous resolved values are kept

Callers 1

entryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected