cmdlet refactor

This commit is contained in:
2026-05-04 18:41:01 -07:00
parent 3ce339b3c1
commit 24f983473f
44 changed files with 1320 additions and 309 deletions
+15
View File
@@ -636,6 +636,21 @@ class Provider(ABC):
"""True if tag writes should be deferred until after file ingest."""
return False
@property
def supports_url_association(self) -> bool:
"""True when this provider supports associating URLs to files."""
return False
@property
def supports_note_association(self) -> bool:
"""True when this provider supports per-file named notes."""
return False
@property
def supports_relationship_association(self) -> bool:
"""True when this provider supports file relationship links (king/alt/related)."""
return False
def add_file(self, file_path: Path, **kwargs: Any) -> str:
"""Ingest a file and return its canonical hash."""
raise NotImplementedError(f"Plugin '{self.name}' does not support add_file")