pub fn readdir_sync(path: &str, callback: Function)
Reads the contents of the directory at path, delivering the resulting entries to the supplied JavaScript callback.
path
callback