[−][src]Function safe_core::nfs::file_helper::delete
pub async fn delete<S>(
client: impl Client,
parent: MDataInfo,
name: S,
published: bool,
version: Version
) -> Result<u64, NfsError> 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.