(feat:storage) is dir fnc

This commit is contained in:
ManishMadan2882
2025-07-15 15:34:16 +05:30
parent 5b07c5f2e8
commit 1d9af05e9e
3 changed files with 51 additions and 0 deletions

View File

@@ -93,3 +93,16 @@ class BaseStorage(ABC):
List[str]: List of file paths
"""
pass
@abstractmethod
def is_directory(self, path: str) -> bool:
"""
Check if a path is a directory.
Args:
path: Path to check
Returns:
bool: True if the path is a directory
"""
pass