Skip to main content

list_scripts

Function list_scripts 

Source
pub fn list_scripts(dir: &Path) -> Result<Listing, String>
Expand description

The scripts in dir, sorted by name.

Regular files only, dotfiles skipped (editor swap files, .DS_Store). A missing directory gives an empty listing; any other failure to read it is an error.