From 2e70534967447e1c34c68d21444a81b851bd4d13 Mon Sep 17 00:00:00 2001 From: Vika Date: Tue, 31 Dec 2024 01:03:54 +0300 Subject: Storage::all_posts to return all posts for ?q=source w/o filters Change-Id: I5d1220b6a2abbcb460bdb13c088c3dbd7e4d9856 --- src/database/file/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/database/file/mod.rs') 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 + Send + 'this> { + todo!(); + Ok(futures::stream::empty()) // for type inference + } } -- cgit 1.4.1