aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index bae2da8..fe6836d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -156,6 +156,9 @@ fn update<P: AsRef<Path>>(
Ok(())
}
+/// Set the mtime of the repository to GitHub's `updated_at` time.
+///
+/// Used for CGit "age" sorting.
fn update_mtime<P: AsRef<Path>>(
repo_path: P,
repo: &github::Repo,