feat: V8.5 — FAKT-Speicherort-Dialog beim Onboarding (4 Optionen, Pfad-Validierung, strategy-aware doc_store)
This commit is contained in:
@@ -131,3 +131,14 @@ class DocumentationStore:
|
||||
def base_dir(self) -> Path:
|
||||
"""Base directory for stored documents."""
|
||||
return self._base_dir
|
||||
|
||||
def set_base_dir(self, new_base_dir: Path) -> None:
|
||||
"""Thema 3: Ändere das Basisverzeichnis zur Laufzeit.
|
||||
|
||||
Setzt nur den Pfad — erstellt das Verzeichnis NICHT.
|
||||
Das Verzeichnis wird erst bei ``store()`` via ``mkdir -p`` erstellt.
|
||||
|
||||
Args:
|
||||
new_base_dir: Neues Basisverzeichnis.
|
||||
"""
|
||||
self._base_dir = Path(new_base_dir)
|
||||
|
||||
Reference in New Issue
Block a user