update comment

This commit is contained in:
yggverse 2025-06-15 22:19:55 +03:00
parent b07d6940e1
commit 7de77b8575

View file

@ -53,8 +53,7 @@ impl Storage {
Ok(p.to_string_lossy().to_string()) Ok(p.to_string_lossy().to_string())
} }
/// Recursively remove all files under the `infohash` location /// Recursively remove all files under the `infohash` location (see rqbit#408)
/// that do not match the `skip_filename` (see rqbit#408)
pub fn cleanup(&self, infohash: &str, skip_filename: Option<&regex::Regex>) -> Result<()> { pub fn cleanup(&self, infohash: &str, skip_filename: Option<&regex::Regex>) -> Result<()> {
for e in walkdir::WalkDir::new(self.output_folder(infohash, false)?) { for e in walkdir::WalkDir::new(self.output_folder(infohash, false)?) {
let e = e?; let e = e?;