You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
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.
The text was updated successfully, but these errors were encountered:
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:
Where
branch
is optional (defaulting tomaster/HEAD
). Thecallback
function will probably just need to have a string parameter that will contain the hash.The text was updated successfully, but these errors were encountered: