giving I have a repository with a bunch of files.
When I use the library to clone the repo and run over the commits to get the latest and then extract all the files. Is there a way to get the last modified date of the file?
Right now I do only see
type File struct{
Name string
Mode filemode.FileMode
Blob
}
The commit date does not help because it would be the same for all files? Is there another way to get the last modified date from a file object?
Hi,
giving I have a repository with a bunch of files. When I use the library to clone the repo and run over the commits to get the latest and then extract all the files. Is there a way to get the last modified date of the file? Right now I do only see
The commit date does not help because it would be the same for all files? Is there another way to get the last modified date from a file object?