← Về thư mục
skills/pptx/scripts/clean.py
- _slide_rids · function · L28-L41 — def _slide_rids(pres_rels_path: Path, unpacked_dir: Path) -> dict[str, str]
- get_slides_in_sldidlst · function · L44-L60 — def get_slides_in_sldidlst(unpacked_dir: Path) -> set[str]
- RefusedToClean · class · L63-L64 — class RefusedToClean(Exception)
- remove_orphaned_slides · function · L67-L127 — def remove_orphaned_slides(unpacked_dir: Path) -> list[str]
- remove_trash_directory · function · L130-L142 — def remove_trash_directory(unpacked_dir: Path) -> list[str]
- _referenced_by · function · L145-L158 — def _referenced_by(rels_files, unpacked_dir: Path) -> set
- remove_orphaned_rels_files · function · L161-L176 — def remove_orphaned_rels_files(unpacked_dir: Path) -> list[str]
- get_referenced_files · function · L179-L180 — def get_referenced_files(unpacked_dir: Path) -> set
- remove_orphaned_files · function · L183-L230 — def remove_orphaned_files(unpacked_dir: Path, referenced: set) -> list[str]
- update_content_types · function · L233-L250 — def update_content_types(unpacked_dir: Path, removed_files: list[str]) -> None
- clean_unused_files · function · L253-L282 — def clean_unused_files(unpacked_dir: Path) -> list[str]