diff options
author | metamuffin <metamuffin@disroot.org> | 2025-03-24 14:12:06 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-03-24 14:12:06 +0100 |
commit | d48ff95ec3739b8179b0e0f5b07d5c89f8f5b33f (patch) | |
tree | caf5cd76df370b6099d8de5005fee795dcb0147b /shared/src/respack.rs | |
parent | f8c243d5a06cbb72f4757e2fb5421c3ec50d509c (diff) | |
download | weareserver-d48ff95ec3739b8179b0e0f5b07d5c89f8f5b33f.tar weareserver-d48ff95ec3739b8179b0e0f5b07d5c89f8f5b33f.tar.bz2 weareserver-d48ff95ec3739b8179b0e0f5b07d5c89f8f5b33f.tar.zst |
impl Ord for Resource
Diffstat (limited to 'shared/src/respack.rs')
-rw-r--r-- | shared/src/respack.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/src/respack.rs b/shared/src/respack.rs index dee0cd0..e724fd5 100644 --- a/shared/src/respack.rs +++ b/shared/src/respack.rs @@ -31,6 +31,7 @@ pub fn save_respack( resources: &[Resource], entry: Option<Resource<RespackEntry>>, ) -> Result<()> { + info!("begin save"); output.write_all(MAGIC)?; output.write_all(&entry.map(|e| e.0).unwrap_or([0u8; 32]))?; output.write_all(&u64::to_be_bytes(resources.len() as u64))?; @@ -47,6 +48,7 @@ pub fn save_respack( for r in resources { output.write_all(&store.get_raw(*r)?.unwrap())?; } + info!("end save"); Ok(()) } |