← Về thư mục
scripts/ars_mark_read.py
- _err · function · L38-L39 — def _err(msg: str) -> str
- _now_iso · function · L42-L43 — def _now_iso() -> str
- _read_log_path · function · L46-L47 — def _read_log_path(passport_path: Path) -> Path
- _validate_passport_environment · function · L50-L103 — def _validate_passport_environment(passport_path: Path | None) -> tuple[Path, Path]
- _load_corpus_keys · function · L106-L110 — def _load_corpus_keys(passport_path: Path) -> set[str]
- _load_log · function · L113-L123 — def _load_log(log_path: Path) -> dict
- _save_log · function · L126-L128 — def _save_log(log_path: Path, data: dict) -> None
- _mark · function · L131-L134 — def _mark(log: dict, citation_key: str) -> None
- _unmark · function · L137-L144 — def _unmark(log: dict, citation_key: str) -> bool
- main · function · L147-L203 — def main(argv: list[str] | None = None) -> int