brew
https://github.com/homebrew/brew
Ruby
🍺 The missing package manager for macOS
Vendor::OkJson#ucharcopy
Copies the valid UTF-8 bytes of a single character from string s at position i to I/O object t, and returns the number of bytes copied. If no valid UTF-8 char exists at position i, ucharcopy writes Ustrerr and returns 1.
Edit
git clone [email protected]:homebrew/brew.git
cd brew
open Library/Homebrew/vendor/okjson.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Vendor--OkJson-ucharcopy-for-pr
# Commit to gitgit add Library/Homebrew/vendor/okjson.rbgit commit -m "better docs for Vendor::OkJson#ucharcopy"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Vendor--OkJson-ucharcopy-for-pr
hub pull-request
# Celebrate!