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

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

Update the file.

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.