list_log_files

Function list_log_files 

Source
pub fn list_log_files(
    gctx: &GlobalContext,
    ws: Option<&Workspace<'_>>,
) -> CargoResult<Box<dyn Iterator<Item = (PathBuf, RunId)>>>
Expand description

Lists log files by calling a callback for each valid log file.

  • Yield log files from new to old
  • If in a workspace, select only the log files associated with the workspace