[−][src]Function safe_app::ffi::nfs::dir_delete_file
#[no_mangle] pub unsafe extern "C" fn dir_delete_file(
app: *const App,
parent_info: *const MDataInfo,
file_name: *const c_char,
published: bool,
version: u64,
user_data: *mut c_void,
o_cb: extern "C" fn(user_data: *mut c_void, result: *const FfiResult, new_version: u64)
)
Delete the file in the parent directory.
If version
is GET_NEXT_VERSION
, the correct version is obtained automatically.
If published
is false then the file is deleted from the network. Else, only the file's entry
is removed from the container.