d
This commit is contained in:
@@ -27,6 +27,16 @@ class Store(ABC):
|
||||
"""
|
||||
return []
|
||||
|
||||
@property
|
||||
def is_remote(self) -> bool:
|
||||
"""True if the store is a remote service (e.g. Hydrus) rather than local disk."""
|
||||
return False
|
||||
|
||||
@property
|
||||
def prefer_defer_tags(self) -> bool:
|
||||
"""True if the store prefers tags to be applied after the file is added."""
|
||||
return False
|
||||
|
||||
@abstractmethod
|
||||
def add_file(self, file_path: Path, **kwargs: Any) -> str:
|
||||
raise NotImplementedError
|
||||
|
||||
Reference in New Issue
Block a user