node: Implement auto-fetching of projects

Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
Alexis Sellier
2022-09-13 10:16:05 +02:00
parent a5a7af57b5
commit 92f17d71c3
6 changed files with 148 additions and 64 deletions
+8
View File
@@ -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!()
}