Skip to content

Update Operator to get contents of commit files #288

@sahansk2

Description

@sahansk2

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.

filepath should support taking Path objects and string representations of paths.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions