MCPcopy Create free account
hub / github.com/bazil/fuse / Add

Method Add

fs/tree.go:30–54  ·  view source on GitHub ↗

Add adds the path to the tree, resolving to the given node. If path or a prefix of path has already been added to the tree, Add panics. Add is only safe to call before starting to serve requests.

(path string, node Node)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

mountFunction · 0.80
mountFunction · 0.80
ServeMethod · 0.80
invalidateNodeMethod · 0.80
InvalidateEntryMethod · 0.80
NotifyDeleteMethod · 0.80
NotifyStoreMethod · 0.80
NotifyRetrieveMethod · 0.80

Calls 3

NodeInterface · 0.85
lookupMethod · 0.80
addMethod · 0.80

Tested by

no test coverage detected