MCPcopy
hub / github.com/caddyserver/certmagic / Write

Method Write

internal/atomicfile/file.go:141–148  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

139}
140
141func (a *atomicFile) Write(p []byte) (n int, err error) {
142 a.closedMu.RLock()
143 defer a.closedMu.RUnlock()
144 if a.closed {
145 return 0, ErrClosed
146 }
147 return a.f.Write(p)
148}

Callers 7

fastHashFunction · 0.80
hashCertificateChainFunction · 0.80
StoreMethod · 0.80
solveHTTPChallengeFunction · 0.80
answerHTTPValidationFunction · 0.80
startOCSPResponderFunction · 0.80

Calls

no outgoing calls

Tested by 1

startOCSPResponderFunction · 0.64