Function create_drive

Source
pub fn create_drive(
    package_id: PackageId,
    drive: &str,
    timeout: Option<u64>,
) -> Result<String, VfsError>
Expand description

Creates a drive with path “/package_id/drive”, gives you read and write caps. Will only work on the same package_id as you’re calling it from, unless you have root capabilities.