Description Usage Arguments Value
This function pulls the the oldest commit date for the specified filepath. This can be used to determine when a file was first pushed to the repository.
1 | filepathToOldestCommitDate(owner, repo, filepath)
|
owner |
the GitHub repository owner |
repo |
The GitHub repository name |
filepath |
Path to the file to return first commit date from |
a date object of the date that the specified file was first commited to the repository.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.