1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00
apps/toolsv2/tools/utils/paths.py
2024-03-14 17:25:16 +01:00

11 lines
212 B
Python

#!/usr/bin/env python3
from pathlib import Path
from git import Repo
APPS_REPO_ROOT = Path(Repo(__file__, search_parent_directories=True).working_dir)
def apps_repo_root() -> Path:
return APPS_REPO_ROOT