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

Method Write

packbuilder.go:123–128  ·  view source on GitHub ↗
(w io.Writer)

Source from the content-addressed store, hash-verified

121}
122
123func (pb *Packbuilder) Write(w io.Writer) error {
124 return pb.ForEach(func(slice []byte) error {
125 _, err := w.Write(slice)
126 return err
127 })
128}
129
130func (pb *Packbuilder) Written() uint32 {
131 ret := uint32(C.git_packbuilder_written(pb.ptr))

Callers

nothing calls this directly

Calls 1

ForEachMethod · 0.95

Tested by

no test coverage detected