hdfs::native::hdfsListDirectory [] [src]

pub unsafe extern fn hdfsListDirectory(fs: *const hdfsFS, path: *const c_char, numEntries: *mut c_int) -> *const hdfsFileInfo

Get list of files/directories for a given directory-path. hdfsFreeFileInfo should be called to deallocate memory.

Params

Return

Returns a dynamically-allocated array of hdfsFileInfo objects; NULL on error.