fn load_dirent(
dir: &CheckedDir,
entry: &DirEntry,
name: &Path,
overrides: &HashMap<PathBuf, LoadOptions>,
) -> Result<Option<ParsedConnectPoint>, LoadError>
Expand description
Helper for load_dir
: Read the element listed as entry
within dir
.
This is a separate method to help make sure that we capture every possible error while loading the file.
Return Ok(None)
if we are skipping this DirEntry
without reading a ParsedConnectPoint.