LowEndInsight v0.3.3 GitModule View Source
Collections of functions for interacting with the git
command to perform queries.
Link to this section Summary
Functions
clone/1: clones the repo
get_commit_dates/1: returns a list of unix timestamps representing commit times
get_contributions_map/1: returns a map of contributions per git user note: this map is unfiltered, dupes aren't identified
get_contributors_count/1: returns the number of contributors for a given Git repo
get_last_n_commits/2: returns a list of lines generated from the diff of two commits
get_last_2_delta/1: returns the lines changed, files changed, additions and deletions in the last commit
get_last_commit_date/1: returns the date of the last commit
get_last_n_commits/1: returns a list of the short hashes of the last n commits
get_recent_changes/1: returns the fraction of changed lines in the last commit by the total lines in the repo
get_tag_and_commit_dates/1: returns a list of lists of unix timestamps representing commit times with each lsit belonging to a different tag
get_total_lines/1: returns the total lines and files contained in a repo as of the latest commit
Link to this section Functions
clone/1: clones the repo
get_commit_dates/1: returns a list of unix timestamps representing commit times
get_contributions_map/1: returns a map of contributions per git user note: this map is unfiltered, dupes aren't identified
get_contributors_count/1: returns the number of contributors for a given Git repo
get_last_n_commits/2: returns a list of lines generated from the diff of two commits
get_last_2_delta/1: returns the lines changed, files changed, additions and deletions in the last commit
get_last_commit_date/1: returns the date of the last commit
get_last_n_commits/1: returns a list of the short hashes of the last n commits
get_recent_changes/1: returns the fraction of changed lines in the last commit by the total lines in the repo
get_tag_and_commit_dates/1: returns a list of lists of unix timestamps representing commit times with each lsit belonging to a different tag
get_total_lines/1: returns the total lines and files contained in a repo as of the latest commit