MCPcopy Create free account
hub / github.com/DCurrent/openbor / get_file

Function get_file

tools/borplay/source/packlib.py:83–91  ·  view source on GitHub ↗

Prevents a need to directly use PackFileReader when you only want to get one file, like in borplay and bor2wav. Returns a file-like object.

(pak, borfile)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

find_fileMethod · 0.95
read_fileMethod · 0.95
PackFileReaderClass · 0.85

Tested by

no test coverage detected