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

pub fn update<S, T>(
    client: Client<T>,
    parent: MDataInfo,
    name: S,
    file: &File,
    version: u64
) -> Box<NfsFuture<()>> where
    S: AsRef<str>,
    T: 'static, 

Updates the file. If version is 0, the current version is first retrieved from the network, and that version incremented by one is then used as the actual version.