Expand description
Embedded file sync: hash-based diff and install for files shipped inside the Joy binary.
Structs§
- Embedded
File - An embedded file that ships with the Joy binary.
- Sync
Action - Result of a sync operation for one file.
Enums§
- File
Status - Status of an installed file compared to the embedded version.
Functions§
- all_
up_ to_ date - Check if all files are up to date (no outdated or missing files).
- diff_
files - Compare installed files against embedded versions. Returns a list of (target_path, status) for files that are not up to date.
- sync_
files - Sync embedded files to disk. Only writes files that are outdated or missing. Returns a list of actions taken.