/// A unique identifier for files or directories in the actual
/// file system, to map "files from the graph" to real files.
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Hash)]pubstructInode(pub(in crate::pristine)u64);implstd::fmt::Debug forInode{fnfmt(&self, fmt:&mutstd::fmt::Formatter)->std::fmt::Result{usebyteorder::{ByteOrder, LittleEndian};letmut b =[0;8];LittleEndian::write_u64(&mut b,self.0);write!(fmt,"Inode({})",data_encoding::BASE32_NOPAD.encode(&b))}}implInode{pubconstROOT: Inode = Inode(0);pubfnis_root(&self)->bool{*self==Inode::ROOT}pub(crate)fnrandom()->Self{
Inode(rand::random())}}