MCPcopy Create free account
hub / github.com/tailscale/tailscale / str

Method str

cmd/nardump/nardump/nardump.go:155–159  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

153}
154
155func (nw *narWriter) str(s string) {
156 if err := writeString(nw.w, s); err != nil {
157 panic(writeNARError{err})
158 }
159}
160
161func writeString(w io.Writer, s string) error {
162 var buf [8]byte

Callers 4

WriteNARFunction · 0.95
writeDirMethod · 0.95
writeRegularMethod · 0.95
writeSymlinkMethod · 0.95

Calls 1

writeStringFunction · 0.70

Tested by

no test coverage detected