diff options
author | Teddy Wing | 2021-05-30 23:42:32 +0200 |
---|---|---|
committer | Teddy Wing | 2021-05-30 23:42:32 +0200 |
commit | 83d581d674bfd1b28a9dd047a649822e882759bc (patch) | |
tree | 9dc75127f5e3bcb63300329ef4f731ad7b601b03 | |
parent | 03f632836d043e63804598a5d661ba8957a7706b (diff) | |
download | reflectub-83d581d674bfd1b28a9dd047a649822e882759bc.tar.bz2 |
main::update_mtime(): Add function documentation
-rw-r--r-- | src/main.rs | 3 |
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, |