From 627f02d5f2c68a42568f31e981c7729ced3dad2e Mon Sep 17 00:00:00 2001 From: Jonathan Baecker Date: Wed, 23 Oct 2024 12:28:28 +0200 Subject: [PATCH] add doc string --- engine/src/player/controller.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/src/player/controller.rs b/engine/src/player/controller.rs index 146ccb48..40acca75 100644 --- a/engine/src/player/controller.rs +++ b/engine/src/player/controller.rs @@ -400,6 +400,7 @@ fn find_m3u8_files(path: &Path) -> io::Result> { Ok(m3u8_files) } +/// Check if segment is in playlist, if not, delete it. fn delete_old_segments + Clone + std::fmt::Debug>( path: P, pl_segments: &[String],