diff options
| author | Max Audron <audron@cocaine.farm> | 2022-06-07 12:28:18 +0200 |
|---|---|---|
| committer | Maximilian Manz <maximilian.manz@de.clara.net> | 2022-06-20 11:33:04 +0200 |
| commit | f869c7f52d8fd1f1ef61e218bbec4d0dac27673d (patch) | |
| tree | 8029b33976fc897a4ae81785e622a7e61ad2eb67 /src/list/mod.rs | |
init
Diffstat (limited to 'src/list/mod.rs')
| -rw-r--r-- | src/list/mod.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/list/mod.rs b/src/list/mod.rs new file mode 100644 index 0000000..e05a318 --- /dev/null +++ b/src/list/mod.rs @@ -0,0 +1,12 @@ +use anyhow::{Context, Result}; +use gtree::local::Repos; + +impl crate::GTree { + pub async fn list(&self, repos: Repos) -> Result<()> { + repos.iter().for_each(|repo| { + println!("{}", repo) + }); + + Ok(()) + } +} |
