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

Method object

gitfs/fs.go:192–198  ·  view source on GitHub ↗

object returns the type and data for the object with hash h. If there is no object with hash h, object returns 0, nil.

(h Hash)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

commitMethod · 0.95
unpackObjectFunction · 0.80
OpenMethod · 0.80
ReadDirMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected