MCPcopy Create free account
hub / github.com/go-git/go-git / PutZlibWriter

Function PutZlibWriter

utils/sync/zlib.go:72–74  ·  view source on GitHub ↗

PutZlibWriter puts w back into its sync.Pool.

(w *zlib.Writer)

Source from the content-addressed store, hash-verified

70
71// PutZlibWriter puts w back into its sync.Pool.
72func PutZlibWriter(w *zlib.Writer) {
73 zlibWriter.Put(w)
74}

Callers 2

CloseMethod · 0.92
TestGetAndPutZlibWriterFunction · 0.85

Calls 1

PutMethod · 0.65

Tested by 1

TestGetAndPutZlibWriterFunction · 0.68