MCPcopy Index your code
hub / github.com/rclone/rclone / appendUnquotedByte

Function appendUnquotedByte

lib/encoder/encoder.go:1174–1184  ·  view source on GitHub ↗
(w io.Writer, s string)

Source from the content-addressed store, hash-verified

1172}
1173
1174func appendUnquotedByte(w io.Writer, s string) bool {
1175 if len(s) < 2 {
1176 return false
1177 }
1178 u, err := strconv.ParseUint(s[:2], 16, 8)
1179 if err != nil {
1180 return false
1181 }
1182 n, _ := w.Write([]byte{byte(u)})
1183 return n == 1
1184}
1185
1186type identity struct{}
1187

Callers 1

DecodeMethod · 0.85

Calls 1

WriteMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…