MCPcopy Index your code
hub / github.com/MisterBooo/LeetCodeAnimation / get_project_path

Function get_project_path

tools/anima/base.py:5–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3
4
5def get_project_path() -> Path:
6 script_path = os.path.realpath(__file__)
7 repo_path = Path(script_path).parents[2]
8 problems_path = repo_path / 'problems'
9 problems_path.mkdir(exist_ok=True)
10 return problems_path
11
12
13def get_md_template_path() -> Path:

Callers 1

create_solutionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected