From 83d581d674bfd1b28a9dd047a649822e882759bc Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 30 May 2021 23:42:32 +0200 Subject: main::update_mtime(): Add function documentation --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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>( Ok(()) } +/// Set the mtime of the repository to GitHub's `updated_at` time. +/// +/// Used for CGit "age" sorting. fn update_mtime>( repo_path: P, repo: &github::Repo, -- cgit v1.2.3