MCPcopy Create free account
hub / github.com/CyberPoint/libpgm / list_nodes

Function list_nodes

utils/bntextutils.py:24–29  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

22 print "%s --> %s" % (e[0], e[1])
23
24def list_nodes(path):
25 _validate(path)
26 with open(path, "r") as f:
27 j = json.load(f)
28 for v in j["V"]:
29 print "%s" % (v)
30
31def list_nodedata(path):
32 _validate(path)

Callers

nothing calls this directly

Calls 2

_validateFunction · 0.85
loadMethod · 0.45

Tested by

no test coverage detected