radicle: Implement remote_refs_at

Implement this function on `RemoteRepository`, and move `repositories`
to the trait level.

This function will be used to quickly get the `RefsAt` of all repository
remotes.
This commit is contained in:
cloudhead
2024-04-05 21:59:28 +02:00
parent 3a0571c285
commit 712b53d6a8
+2
View File
@@ -4,6 +4,8 @@ use axum::routing::get;
use axum::{Json, Router};
use serde_json::json;
use radicle::storage::ReadStorage;
use crate::api::error::Error;
use crate::api::Context;