Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.
72
func
PutZlibWriter(w *zlib.Writer) {
73
zlibWriter.Put(w)
74
}
Callers
2
Close
Method · 0.92
TestGetAndPutZlibWriter
Function · 0.85
Calls
1
Put
Method · 0.65
Tested by
1
TestGetAndPutZlibWriter
Function · 0.68