read_git_commit_timestamp_for_file¶
- 
documenteer.sphinxconfig.utils.read_git_commit_timestamp_for_file(filepath, repo_path=None)¶
- Obtain the timestamp for the most recent commit to a given file in a Git repository. - Parameters
- Returns
- commit_timestampdatetime.datetime
- The datetime of a the most recent commit to the given file. 
 
- commit_timestamp
- Raises
- IOError
- Raised if the - filepathdoes not exist in the Git repository.