MCPcopy Create free account
hub / github.com/DVampire/FinAgent / get_project_root

Function get_project_root

finagent/utils/file_utils.py:23–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 return os.path.exists(assemble_project_path(path))
22
23def get_project_root():
24 path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
25 path = os.path.dirname(path) # get to parent, outside of project code path"
26 return path
27
28def read_resource_file(path):
29

Callers 2

assemble_project_pathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected