diff --git a/src/count.rs b/src/count.rs index d663ed8..b02ba1a 100644 --- a/src/count.rs +++ b/src/count.rs @@ -1,6 +1,9 @@ use crate::error::Result; use std::{fs::{read_dir, ReadDir}, path::Path, result::Result as StdResult, iter::once}; +/// The on disk layout for served repos is `//` +/// so to get the amount of repos, we just have to count everything +/// in `*/*/*` to get the count. #[instrument] pub(crate) fn count_repositories

(repo_path: P) -> Result where