about summary refs log tree commit diff
path: root/src/media
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-01-29 07:08:21 +0300
committerVika <vika@fireburn.ru>2024-01-29 07:08:21 +0300
commitd36014200549cf73a7f22c6f94fb15bec17823e8 (patch)
tree6e56f912219c5d20e2768b1f016f23fff22fe83e /src/media
parented51d48f7353a5ceefa798ded52d3af465d4d0ec (diff)
downloadkittybox-d36014200549cf73a7f22c6f94fb15bec17823e8.tar.zst
lint: no extra whitespace on line endings
Diffstat (limited to 'src/media')
-rw-r--r--src/media/storage/file.rs6
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() {