pub fn sync(dir: &Path, dry_run: bool) -> Result<()>
用磁盘实际状态修正全部 entries,并更新 size / sha256。
entries
size
sha256