zebra_state::config

Function parse_dir_name

source
fn parse_dir_name(entry: &DirEntry) -> Option<String>
Expand description

Check if entry is a directory with a valid UTF-8 name. (State directory names are guaranteed to be UTF-8.)

Returns None if any operation fails.