Skip to main content

listing

Function listing 

Source
pub(crate) fn listing(
    dir: &Path,
) -> Result<impl Iterator<Item = Result<OsString>>>
Expand description

Lists the media directory, naming each entry by dir joined with its name.

The startup media check and scan test a row’s two names against this listing, so both read the directory alike. The startup check drops whatever fails to read, where scan fails on it.