Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Add getGithubFileHash Function #2

jamesward opened this Issue · 2 comments

2 participants


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.


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!


I'm considering this closed thanks to @brntbeer!

@jamesward jamesward closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.