1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

Cleanup unused api in appslib.utils

This commit is contained in:
Félix Piédallu 2024-08-13 08:37:20 +02:00 committed by Félix Piédallu
parent 9ed6ccc96e
commit 82b13ece7d

View file

@ -13,11 +13,6 @@ import toml
REPO_APPS_ROOT = Path(Repo(__file__, search_parent_directories=True).working_dir) REPO_APPS_ROOT = Path(Repo(__file__, search_parent_directories=True).working_dir)
@cache
def apps_repo_root() -> Path:
return Path(__file__).parent.parent.parent
def git(cmd: list[str], cwd: Optional[Path] = None) -> str: def git(cmd: list[str], cwd: Optional[Path] = None) -> str:
full_cmd = ["git"] full_cmd = ["git"]
if cwd: if cwd: