collect_run_log_entries

Function collect_run_log_entries 

Source
fn collect_run_log_entries(log_dir: &Path) -> Result<Vec<DirEntry>, Error>
Expand description

Collects all Cadmus log file entries from the specified directory.

Only files matching the pattern cadmus-*.json are collected.

§Arguments

  • log_dir - Path to the directory to scan

§Returns

Returns a vector of directory entries representing log files.

§Errors

Returns an error if the directory cannot be read or entries are inaccessible.