sonic-pi

https://github.com/sonic-pi-net/sonic-pi

C++

Code. Music. Live.

Rugged::Blob#content

Return up to +max_bytes+ from the contents of a blob as bytes +String+.
If +max_bytes+ is less than 0, the full string is returned.

This string is tagged with the ASCII-8BIT encoding: the bytes are
returned as-is, since Git is encoding agnostic.

Source | Google | Stack overflow

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_blob.c

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rugged--Blob-content-for-pr


# Commit to git

git add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_blob.cgit commit -m "better docs for Rugged::Blob#content"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Rugged--Blob-content-for-pr

hub pull-request


# Celebrate!