hdfs::native::hdfsGetPathInfo [] [src]

pub unsafe extern fn hdfsGetPathInfo(fs: *const hdfsFS, path: *const c_char) -> *const hdfsFileInfo

Get information about a path as a (dynamically allocated) single hdfsFileInfo struct. hdfsFreeFileInfo should be called when the pointer is no longer needed.

Params

Params

Returns a dynamically-allocated hdfsFileInfo object; NULL on error.