diff options
Diffstat (limited to 'src/media/storage')
-rw-r--r-- | src/media/storage/file.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/media/storage/file.rs b/src/media/storage/file.rs index 0aaaa3b..a910eca 100644 --- a/src/media/storage/file.rs +++ b/src/media/storage/file.rs @@ -122,7 +122,7 @@ impl MediaStore for FileStore { debug!("File path: {}, metadata: {}", filepath.display(), metapath.display()); { let parent = filepath.parent().unwrap(); - tokio::fs::create_dir_all(parent).await?; + tokio::fs::create_dir_all(parent).await?; } let mut meta = OpenOptions::new() .create_new(true) @@ -178,7 +178,7 @@ impl MediaStore for FileStore { Ok(meta) } - + #[tracing::instrument(skip(self))] async fn stream_range( &self, @@ -367,7 +367,7 @@ mod tests { assert_eq!(range.as_slice(), file); } - + #[tokio::test] #[tracing_test::traced_test] async fn test_streaming_read_write() { |