//! On-disk metadata for a stored file.
useserde::{Deserialize, Serialize};/// Serialized metadata stored under the `m:{path}` key.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]pubstructFileMeta{/// Total file size in bytes.
pubsize:usize,
/// Number of chunk keys (`c:{path}:{i}`) for this file.
pubchunks:usize,
}/// Stack buffer large enough for postcard-encoded [`FileMeta`].
pub(crate)constMETA_BUF_LEN:usize=32;