2026-04-20 22:54:31 +01:00
|
|
|
use crate::api::QueryContext;
|
2026-04-20 15:13:26 +01:00
|
|
|
use crate::query;
|
|
|
|
|
|
|
|
|
|
#[derive(Clone)]
|
|
|
|
|
pub struct List;
|
|
|
|
|
|
2026-04-20 22:54:31 +01:00
|
|
|
impl query::QueryFn<QueryContext> for List {
|
2026-04-20 15:13:26 +01:00
|
|
|
type Data = ();
|
|
|
|
|
type Error = ();
|
|
|
|
|
|
|
|
|
|
fn key(&self) -> &'static str {
|
|
|
|
|
"repo.list"
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-21 11:50:04 +01:00
|
|
|
async fn run(&self, _c: &QueryContext) -> Result<Self::Data, Self::Error> {
|
|
|
|
|
Ok(())
|
2026-04-20 15:13:26 +01:00
|
|
|
}
|
|
|
|
|
}
|