pub async fn root_volume(fs: &Arc<FxFilesystem>) -> Result<RootVolume, Error> {
    let root_store = fs.root_store();
    let root_directory = Directory::open(&root_store, root_store.root_directory_object_id())
        .await
        .context("Unable to open root volume directory")?;
    Ok(RootVolume { _root_directory: root_directory, filesystem: fs.clone() })
}
/// Returns the root volume for the filesystem.
Returns the root volume for the filesystem.
Returns the root volume for the filesystem .
pub async fn root_volume(fs: &Arc<FxFilesystem>) -> Result<RootVolume, Error> {
    let root_store = fs.root_store();
    let root_directory = Directory::open(&root_store, root_store.root_directory_object_id())
        .await
        .context("Unable to open root volume directory")?;
    Ok(RootVolume { _root_directory: root_directory, filesystem: fs.clone() })
}
pub async fn root_volume ( fs : & Arc < FxFilesystem > ) -> Result < RootVolume , Error > { let root_store = fs . root_store ( ) ; let root_directory = Directory :: open ( & root_store , root_store . root_directory_object_id ( ) ) . await . context ( " " ) ? ; Ok ( RootVolume { _root_directory : root_directory , filesystem : fs . clone ( ) } ) }
Returns the root volume for the filesystem.
Returns the root volume for the filesystem .
fs
&Arc<FxFilesystem>
fs
&Arc<FxFilesystem>