MCPcopy Create free account
hub / github.com/acm-clan/algorithm-stone / get_root

Function get_root

src/util.py:20–22  ·  view source on GitHub ↗
(d, f)

Source from the content-addressed store, hash-verified

18 return t
19
20def get_root(d, f):
21 path = Path(os.path.abspath(__file__))
22 return os.path.abspath(os.path.join(path.parent.parent, d, f))
23
24def get_db(f):
25 path = Path(os.path.abspath(__file__))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected