MCPcopy Create free account
hub / github.com/tailscale/hujson / extractLeadingComments

Method extractLeadingComments

patch.go:377–385  ·  view source on GitHub ↗

extractLeadingComments extracts leading comments from the bottom of b. If readonly, then the source is not mutated.

(readonly bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

parsePatchFunction · 0.80
copyAtFunction · 0.80
removeAtFunction · 0.80

Calls 3

classifyCommentsMethod · 0.95
consumeWhitespaceFunction · 0.85
copyBytesFunction · 0.85

Tested by

no test coverage detected