json_files

Function json_files 

Source
fn json_files(dir: &Path) -> Result<Vec<PathBuf>>
Expand description

Returns sorted paths of every .json file directly inside dir.

Sorting ensures deterministic ordering across runs.

ยงErrors

Returns an error if the directory cannot be read.