From 712b53d6a8ae8df9ed5775bc5319f809d73ec00c Mon Sep 17 00:00:00 2001 From: cloudhead Date: Fri, 5 Apr 2024 21:35:08 +0200 Subject: [PATCH] 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. --- radicle-httpd/src/api/v1/stats.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/radicle-httpd/src/api/v1/stats.rs b/radicle-httpd/src/api/v1/stats.rs index c8f4792b3..056f5e2d3 100644 --- a/radicle-httpd/src/api/v1/stats.rs +++ b/radicle-httpd/src/api/v1/stats.rs @@ -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;