MCPcopy Create free account
hub / github.com/congo-cc/congo-parser-generator / get_data

Function get_data

examples/python/testfiles/pkgutil.py:361–401  ·  view source on GitHub ↗

Get a resource from a package. This is a wrapper round the PEP 302 loader get_data API. The package argument should be the name of a package, in standard module format (foo.bar). The resource argument should be in the form of a relative filename, using '/' as the path separator. The

(package, resource)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

splitMethod · 0.80
getMethod · 0.65
insertMethod · 0.45

Tested by

no test coverage detected