[−][src]Function rust_hdfs::hdfsDelete
pub unsafe extern "C" fn hdfsDelete(
fs: hdfsFS,
path: *const c_char,
recursive: c_int
) -> c_int
hdfsDelete - Delete file. @param fs The configured filesystem handle. @param path The path of the file. @param recursive if path is a directory and set to non-zero, the directory is deleted else throws an exception. In case of a file the recursive argument is irrelevant. @return Returns 0 on success, -1 on error.