This commit is contained in:
2025-12-14 20:56:52 -06:00
parent a0b6e00a31
commit 51eb7e80e7
29 changed files with 137 additions and 131 deletions

View File

@@ -0,0 +1,19 @@
from dataclasses import dataclass
from pathlib import Path
from typing import final
@final
@dataclass(frozen=True, slots=True)
class SrcPaths:
cfg_dir: Path
cfg_file: Path
env_file: Path
def src_paths_factory(src: Path) -> SrcPaths:
return SrcPaths(
cfg_dir=src,
cfg_file=src.joinpath("cfg.yml"),
env_file=src.joinpath(".env"),
)