MCPcopy Index your code
hub / github.com/perkeep/perkeep / ChildPathObject

Method ChildPathObject

pkg/importer/importer.go:1580–1582  ·  view source on GitHub ↗

ChildPathObject returns (creating if necessary) the child object from the permanode o, given by the "camliPath:xxxx" attribute, where xxx is the provided path.

(path string)

Source from the content-addressed store, hash-verified

1578// from the permanode o, given by the "camliPath:xxxx" attribute,
1579// where xxx is the provided path.
1580func (o *Object) ChildPathObject(path string) (*Object, error) {
1581 return o.ChildPathObjectOrFunc(path, o.h.NewObject)
1582}
1583
1584// ChildPathObjectOrFunc returns the child object from the permanode o,
1585// given by the "camliPath:xxxx" attribute, where xxx is the provided

Callers 15

RunMethod · 0.80
importTransactionMethod · 0.80
importTweetMethod · 0.80
getTopLevelNodeMethod · 0.80
importPhotosMethod · 0.80
importCheckinMethod · 0.80
importCompanionsMethod · 0.80
importPlaceMethod · 0.80
getTopLevelNodeMethod · 0.80
importItemMethod · 0.80
getTopLevelNodeMethod · 0.80
TestIntegrationRunFunction · 0.80

Calls 1

ChildPathObjectOrFuncMethod · 0.95

Tested by 1

TestIntegrationRunFunction · 0.64