Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用Octokit gem 通过以下命令访问文件的内容:
Octokit.contents("user/reponame", path: 'path/to/file.md')
可以很好地获取内容。我的问题是如何获得该文件的最后更新日期和时间戳?