Skip to main content

Module git

Module git 

Source

Structs§

RepoInfo
Describes what the user-supplied path resolves to.

Functions§

file_last_modified
Returns the last-modified date (YYYY-MM-DD) for a single file. In git mode: from git log. In plain mode: from filesystem mtime.
file_last_modified_dates
Returns a map of file path → last modified date (YYYY-MM-DD). In git mode: parsed from git log. In directory mode: from filesystem mtime.
get_metadata
Fetches repository metadata: branch, last commit hash/date/message, and name.
list_tracked_files
Lists all files to be included in the PDF.
read_file_content
verify_repo
Resolves a user-supplied path into a RepoInfo.