Function hdfsGetPathInfo

Source
pub unsafe extern "C" fn hdfsGetPathInfo(
    fs: hdfsFS,
    path: *const c_char,
) -> *mut hdfsFileInfo
Expand description

hdfsGetPathInfo - Get information about a path as a (dynamically allocated) single hdfsFileInfo struct. hdfsFreeFileInfo should be called when the pointer is no longer needed. @param fs The configured filesystem handle. @param path The path of the file. @return Returns a dynamically-allocated hdfsFileInfo object; NULL on error.