sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::Index#[]
Return a specific entry in the index. The first two forms returns entries based on their +path+ in the index and an optional +stage+, while the last two forms return entries based on their position in the index.
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_index.c
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rugged--Index----for-pr
# Commit to gitgit add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_index.cgit commit -m "better docs for Rugged::Index#[]"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rugged--Index----for-pr
hub pull-request
# Celebrate!