We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We'd like to have a common method to get the contents of a file in a commit, something like
def commit_content(self, commit, filepath)
since this is pretty crucial for level development in #238.
commit could support taking a Commit object, or a string commit-ish.
commit
filepath should support taking Path objects and string representations of paths.
filepath
The text was updated successfully, but these errors were encountered:
This is pretty similar to the implementation of #286 .
We should also be wary of reading the data stream, which can only be read from once.
Sorry, something went wrong.
sahansk2
Successfully merging a pull request may close this issue.
We'd like to have a common method to get the contents of a file in a commit, something like
since this is pretty crucial for level development in #238.
commit
could support taking a Commit object, or a string commit-ish.filepath
should support taking Path objects and string representations of paths.The text was updated successfully, but these errors were encountered: