Type Definition cyfs_base::Dir

source ·
pub type Dir = NamedObjectBase<DirType>;

Implementations§

source§

impl Dir

source

pub fn new( dir_attributes: Attributes, obj_desc: NDNObjectInfo, obj_map: HashMap<ObjectId, Vec<u8>> ) -> DirBuilder

source

pub fn new_with_chunk_body( dir_attributes: Attributes, obj_desc: NDNObjectInfo, chunk_body: ChunkId ) -> DirBuilder

source

pub fn get_data_from_body(&self, id: &ObjectId) -> Option<&Vec<u8>>

source

pub fn check_and_fix_desc_limit(&mut self) -> BuckyResult<()>