Skip to content
New issue

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

Add support for Repositories Contents API #173

Merged
merged 1 commit into from
Jul 23, 2019

Conversation

EtienneDepaulis
Copy link
Contributor

Gets the contents of a file or directory in a repository

Doc: https://developer.github.com/v3/repos/contents/#get-contents

Do you want to be able to manage options like ref or when it's a directory (we get a listing).
For the last one, checking the other endpoints, it seems the philosophy is to be only an API wraper.
What about the the ref option then ?

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 91.391% when pulling 8d4d7b3 on EtienneDepaulis:repositories_content into 56c1f75 on edgurgel:master.

@edgurgel
Copy link
Owner

Up to you really! I think it's fine for now and we can add later as an optional argument?

@edgurgel edgurgel merged commit d578945 into edgurgel:master Jul 23, 2019
@edgurgel
Copy link
Owner

Thanks for the PR! I will release a new version soon 🎉

@EtienneDepaulis EtienneDepaulis deleted the repositories_content branch July 23, 2019 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants