/// Load all subvolumes reachable from '/' and create a map keyed by their
/// UUID. This is all subvolumes that are under subvolid 5.
Load all subvolumes reachable from '/' and create a map keyed by their
UUID. This is all subvolumes that are under subvolid 5.
Load all subvolumes reachable from ' / ' and create a map keyed by their UUID . This is all subvolumes that are under subvolid 5 .
pub fn all_subvols_by_uuid() -> Result<BTreeMap<Uuid, Subvolume>> {
        Self::create_iterator(Path::new("/"), BTRFS_FS_TREE_OBJECTID)?
            .map(|subvol| subvol.map(|subvol| (subvol.info.uuid, subvol)))
            .collect()
    }
pub fn all_subvols_by_uuid ( ) -> Result < BTreeMap < Uuid , Subvolume > > { Self :: create_iterator ( Path :: new ( " " ) , BTRFS_FS_TREE_OBJECTID ) ? . map ( | subvol | subvol . map ( | subvol | ( subvol . info . uuid , subvol ) ) ) . collect ( ) }
Load all subvolumes reachable from '/' and create a map keyed by their
UUID.
Load all subvolumes reachable from ' / ' and create a map keyed by their UUID .