feat(common): add a function to get root directory

This commit is contained in:
Anthony Berg 2025-06-25 13:34:15 +02:00
parent 1375743e21
commit f4fff25539

View File

@ -0,0 +1,8 @@
from pathlib import Path
def get_project_root() -> Path:
"""
Gets the root directory of the project.
"""
return Path(__file__).parent.parent.parent