core: simplify code

This commit is contained in:
2025-04-15 14:41:06 +02:00
parent e27bfe74ea
commit 196ae57b2c
6 changed files with 61 additions and 43 deletions

View File

@ -11,6 +11,9 @@ class Path():
self._name: str = os.path.basename(self._absolute_path)
self._dirpath: str = os.path.dirname(self._absolute_path)
def __str__(self) -> str:
return self._name
def get_dirpath(self):
return self._dirpath