MCPcopy Create free account
hub / github.com/rsc/tmp / commitKeyValue

Function commitKeyValue

gitfs/fs.go:129–148  ·  view source on GitHub ↗

commitKeyValue parses the commit object data looking for the first header line "key: value" matching the given key. It returns the associated value. (Try 'git cat-file -p ' to see the commit data format.)

(data []byte, key string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

commitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…