Expand description
Simple Find implementation.
By using the globset create matches all the files in a specified diretory and returns a Vec with results that can be serialized to a String as these implement Display.
Enums§
- Directory
Entry - This represents an ok result for all
the functions exported by the
fdrslibrary. Usually contained in a Vec. - Find
Error - This enum represents an error
for all the functions exported by the
fdrslibrary.
Functions§
- find
- This function lists all the paths from a base path
and returns a
DirectoryEntryenum whether the path could be read or not, if theignore_errorargument is true you will not find anyDirectoryEntry::Errorin the returned Vec. - find_
glob - This function lists all the paths from a base path
that match a glob, and filters the output using the
globset spec, if the
ignore_errorargument is true you will not found anyDirectoryEntry::Errorin the returned Vec.