sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::Repository#read_header
Read and return the header information in +repo+'s ODB for the object identified by the given +oid+. Returns a Hash object with the following key/value pairs: :type :: A Symbol denoting the object's type. Possible values are: +:tree+, +:blob+, +:commit+ or +:tag+. :len :: A Number representing the object's length, in bytes.
Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_repo.c
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rugged--Repository-read_header-for-pr
# Commit to gitgit add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_repo.cgit commit -m "better docs for Rugged::Repository#read_header"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rugged--Repository-read_header-for-pr
hub pull-request
# Celebrate!