This commit is contained in:
2026-04-21 20:30:41 +01:00
parent 6c60013295
commit e8005f3fbf
13 changed files with 234 additions and 97 deletions

View File

@@ -4,15 +4,16 @@ use crate::query;
#[derive(Clone)]
pub struct List;
impl query::QueryFn<QueryContext> for List {
impl query::QueryFn for List {
type Data = ();
type Error = ();
type Context = QueryContext;
fn key(&self) -> &'static str {
"repo.list"
}
async fn run(&self, _c: &QueryContext) -> Result<Self::Data, Self::Error> {
async fn run(&self, _c: &Self::Context) -> Result<Self::Data, Self::Error> {
Ok(())
}
}