mirror of
https://git.srhtnin.garden/sarah/SaraFem.git
synced 2026-10-13 18:18:11 +02:00
13 lines
444 B
Python
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")
|