MCPcopy Create free account
hub / github.com/NullHypothesis/zoossh / ParseDescriptorFile

Function ParseDescriptorFile

descriptor.go:491–494  ·  view source on GitHub ↗

ParseDescriptorFile parses the given file and returns a pointer to RouterDescriptors containing the router descriptors. If there were any errors, an error string is returned. Note that in contrast to LazilyParseDescriptorFile, parsing is *not* delayed. That pays off when you know that you will pa

(fileName string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

TestDescriptorsToSliceFunction · 0.85
TestDescriptorFilteringFunction · 0.85
LoadDescriptorFromDigestFunction · 0.85

Calls 1

parseDescriptorFileFunction · 0.85

Tested by 3

TestDescriptorsToSliceFunction · 0.68
TestDescriptorFilteringFunction · 0.68