[][src]Function safe_app::nfs::file_helper::delete

pub fn delete<S>(
    client: impl Client,
    parent: MDataInfo,
    name: S,
    published: bool,
    version: Version
) -> Box<dyn Future<Error = NfsError, Item = u64> + 'static> where
    S: AsRef<str>, 

Delete a file from the directory.

If version is Version::GetNext, the current version is first retrieved from the network, and that version incremented by one is then used as the actual version.