pub(crate) fn channel_folders(
root: &Path,
cutoff: NaiveDate,
) -> Result<Vec<PathBuf>>Expand description
Lists asset<NNN>/<YYYY-MM-DD>/ch<NN> folders under root older than cutoff.
Leftovers from an interrupted run are cleaned up with recover on the way.
§Arguments
root- Archive root.cutoff- Days on or after this date are not listed.
§Errors
Returns an error if a folder cannot be listed or recovered.