about summary refs log tree commit diff
path: root/src/database/file
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-12-31 01:03:54 +0300
committerVika <vika@fireburn.ru>2024-12-31 01:03:54 +0300
commit2e70534967447e1c34c68d21444a81b851bd4d13 (patch)
treee528acba8684fcb2ea67cc87a40836b2d5767203 /src/database/file
parentfecd5b75396f02be26d75aa5db48aaef723298c5 (diff)
downloadkittybox-2e70534967447e1c34c68d21444a81b851bd4d13.tar.zst
Storage::all_posts to return all posts for ?q=source w/o filters
Change-Id: I5d1220b6a2abbcb460bdb13c088c3dbd7e4d9856
Diffstat (limited to 'src/database/file')
-rw-r--r--src/database/file/mod.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/database/file/mod.rs b/src/database/file/mod.rs
index 6343f1f..5890f95 100644
--- a/src/database/file/mod.rs
+++ b/src/database/file/mod.rs
@@ -754,4 +754,9 @@ impl Storage for FileStorage {
 
         Ok(())
     }
+
+    async fn all_posts<'this>(&'this self, user: &url::Url) -> Result<impl futures::Stream<Item = serde_json::Value> + Send + 'this> {
+        todo!();
+        Ok(futures::stream::empty()) // for type inference
+    }
 }