MCPcopy
hub / github.com/perkeep/perkeep / AccountNode

Method AccountNode

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

AccountNode returns the permanode storing account information for this permanode. It will contain the attributes: - camliNodeType = "importerAccount" - importerType = "registered-type" You must not change the camliNodeType or importerType. You should use this permanode to store state about where y

()

Source from the content-addressed store, hash-verified

400// importer left off, if it can efficiently resume later (without
401// missing anything).
402func (rc *RunContext) AccountNode() *Object { return rc.ia.acct }
403
404// RootNode returns the initially-empty permanode storing the root
405// of this account's data. You can change anything at will. This will

Callers 15

RunMethod · 0.80
RunMethod · 0.80
RunMethod · 0.80
LongPollMethod · 0.80
importTweetMethod · 0.80
getTopLevelNodeMethod · 0.80
TestIntegrationRunFunction · 0.80
tokenMethod · 0.80
RunMethod · 0.80
importFeedMethod · 0.80
RunMethod · 0.80
displayNameMethod · 0.80

Calls

no outgoing calls

Tested by 4

TestIntegrationRunFunction · 0.64
TestIntegrationRunFunction · 0.64
TestIntegrationRunFunction · 0.64
TestIntegrationFunction · 0.64