mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-21 10:30:41 +08:00
node: Implement auto-fetching of projects
Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
@@ -41,6 +41,14 @@ impl fmt::Debug for Storage {
|
||||
}
|
||||
|
||||
impl ReadStorage for Storage {
|
||||
fn url(&self) -> Url {
|
||||
Url {
|
||||
scheme: git_url::Scheme::File,
|
||||
host: Some(self.path.to_string_lossy().to_string()),
|
||||
..Url::default()
|
||||
}
|
||||
}
|
||||
|
||||
fn get(&self, _id: &ProjId) -> Result<Option<Remotes<Unverified>>, Error> {
|
||||
todo!()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user