Skip to main content

Module sync_metadata

Module sync_metadata 

Source

Structs§

EmptySkillMetadata
Reindex refused: the metadata lists no skills while the central repo has skill directories (applying it would empty the library). Typed so startup can tell it apart from other failures.
ScenarioMetaFile
ScenarioSkillMetaFile
SchemaFile
SkillMetaFile
SourceMeta

Functions§

cleanup_temporary_files
ensure_skill_metadata
has_complete_skill_snapshot
metadata_dir
metadata_exists
reindex_from_metadata
with_repo_lock
Runs f while holding the central-repo lock. Callers are user-initiated operations (set tags, delete, skill group edits, imports), so we wait out transient contention with background work instead of failing fast.
write_all_from_db