Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/nzb-postproc/src/detect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ pub fn find_par2_files(dir: &Path) -> Vec<PathBuf> {

/// Returns true if a filename looks like a par2 volume file (e.g.
/// `foo.vol00+01.par2` or `foo.vol00-01.par2`) rather than the index file.
fn is_par2_volume(name_lower: &str) -> bool {
pub(crate) fn is_par2_volume(name_lower: &str) -> bool {
// Typical patterns: .vol000+000.par2 and .vol000-000.par2.
// We check for ".vol" anywhere before the final ".par2"
let without_ext = name_lower.trim_end_matches(".par2");
Expand Down
Loading
Loading