mirror of
https://github.com/Abdess/retrobios.git
synced 2026-06-28 21:32:49 +00:00
fix: rewrite exporters to match exact native formats
This commit is contained in:
parent
1e6b499602
commit
74269bab84
6 changed files with 175 additions and 81 deletions
|
|
@ -25,3 +25,8 @@ class BaseExporter(ABC):
|
|||
@abstractmethod
|
||||
def validate(self, truth_data: dict, output_path: str) -> list[str]:
|
||||
"""Validate exported file against truth data, return list of issues."""
|
||||
|
||||
@staticmethod
|
||||
def _is_pattern(name: str) -> bool:
|
||||
"""Check if a filename is a placeholder pattern (not a real file)."""
|
||||
return "<" in name or ">" in name or "*" in name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue