Skip to main content

Module git

Module git 

Source

Functions§

get_last_activity
Get the last activity time for a repository.
get_last_commit_time
Get the timestamp of the most recent commit in a repository.
get_mtime_activity
Scan all source files in a repo and return the latest mtime.
git_in
A git command aimed at repo_path and nothing else.
is_idle_at
Whether an already-known activity time counts as idle.
is_repo_idle
Check if a repository is considered “idle” (inactive for idle_days).
repo_identity
A repository’s root commit — the one identifier that survives being moved.