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

Function treeLookup

gitfs/fs.go:108–123  ·  view source on GitHub ↗

treeLookup looks in the tree object data for the directory entry with the given name, returning the mode and hash associated with the name.

(data []byte, name string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

OpenMethod · 0.85

Calls 1

parseDirEntryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…