fn component_dirs_from_dir(
path: impl AsRef<Path>,
) -> Result<Vec<ComponentDir>, Error>Expand description
Creates a list of component directories from a directory.
Component directories may be those for OpenPGP User IDs or OpenPGP subkeys.
ยงErrors
Returns an error if
pathis not a directory,- an entry in
pathcannot be read, - metadata for an entry in
pathcannot be retrieved, - any path in
pathdoes not represent a directory, - or any path in
pathcannot be turned into aComponentDir.