Add getGithubFileHash Function #2

Closed
jamesward opened this Issue Jun 30, 2012 · 2 comments

Comments

Projects
None yet
2 participants
Owner

jamesward commented Jun 30, 2012

Add a function that allows you to get a blob's hash just by specifying a branch and a file name (for when you always want the most recent instead of a specific version of a blob).

Proposed API:

$.getGithubFileHash(user, repo, file, callback, branch)

Where branch is optional (defaulting to master/HEAD). The callback function will probably just need to have a string parameter that will contain the hash.

Contributor

brntbeer commented Oct 30, 2012

Oops! Just now noticed this issue. It seems my pull request is a great middle ground for this for the time being?

more than happy to continue discussion over on #4 if need be!

Owner

jamesward commented Oct 30, 2012

I'm considering this closed thanks to @brntbeer!

jamesward closed this Oct 30, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment