feat: get project root config

This commit is contained in:
Limitex
2025-11-09 07:08:05 +09:00
parent d31484ff5a
commit f7d6e25766
2 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
from ._cache import get_cache_dir
from ._env import load_envs
from ._path import get_project_root
__all__ = ["load_envs", "get_cache_dir"]
__all__ = ["load_envs", "get_cache_dir", "get_project_root"]
+5
View File
@@ -0,0 +1,5 @@
from pathlib import Path
def get_project_root() -> Path:
return Path(__file__).parents[2].resolve()