pub fn write_index( void_dir: impl AsRef<Path>, key: &SecretKey, commit_cid: Option<CommitCid>, entries: Vec<IndexEntry>, ) -> Result<()>
Writes the encrypted workspace index to disk.