pub fn read_entries(path: &Path, config: &LsConfig) -> Result<Vec<FileEntry>>
Read entries from a directory path.