[−][src]Function safe_app::ffi::nfs::dir_update_file
#[no_mangle] pub unsafe extern "C" fn dir_update_file(
app: *const App,
parent_info: *const MDataInfo,
file_name: *const c_char,
file: *const File,
version: u64,
user_data: *mut c_void,
o_cb: extern "C" fn(user_data: *mut c_void, result: *const FfiResult, new_version: u64)
)
Replace the file in the parent directory.
If version
is GET_NEXT_VERSION
, the correct version is obtained automatically.