add doc string

This commit is contained in:
Jonathan Baecker 2024-10-23 12:28:28 +02:00
parent d61d2124fb
commit 627f02d5f2

View File

@ -400,6 +400,7 @@ fn find_m3u8_files(path: &Path) -> io::Result<Vec<String>> {
Ok(m3u8_files) Ok(m3u8_files)
} }
/// Check if segment is in playlist, if not, delete it.
fn delete_old_segments<P: AsRef<Path> + Clone + std::fmt::Debug>( fn delete_old_segments<P: AsRef<Path> + Clone + std::fmt::Debug>(
path: P, path: P,
pl_segments: &[String], pl_segments: &[String],