Files
SaraFem/BookSync.py
T
2026-09-24 22:03:58 +02:00

13 lines
444 B
Python

"""Keeps SaraView "Book" entries pointed at the right file when it moves.
Stub: SaraView's Book storage format/API isn't settled yet (see Sara/Ecosystem.md).
Fill in `OnFileMoved` once that's decided.
"""
from pathlib import Path
def OnFileMoved(OldPath: Path, NewPath: Path) -> None:
"""Update any Book entry referencing OldPath to point at NewPath instead."""
raise NotImplementedError("Needs SaraView's Book API/storage format")