Files
2026-08-28 15:44:46 +03:00

21 lines
373 B
Python

from pathlib import Path
from .entry import Entry
class EmptyEntry(Entry):
def __init__(self):
super().__init__([], Path(), Path())
def __bool__(self):
return False
ENTRY_NONE = EmptyEntry()
ENTRY_SKIP = EmptyEntry()
class EntryDetector:
def detect_entry(self, basepath: Path, rootpath: Path) -> Entry:
raise NotImplementedError