brew
https://github.com/homebrew/brew
Ruby
🍺 The missing package manager for macOS
AbstractDownloadStrategy#clear_cache
Remove {#cached_location} and any other files associated with the resource
from the cache.Edit
git clone [email protected]:homebrew/brew.git
cd brew
open Library/Homebrew/download_strategy/abstract_download_strategy.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-AbstractDownloadStrategy-clear_cache-for-pr
# Commit to gitgit add Library/Homebrew/download_strategy/abstract_download_strategy.rbgit commit -m "better docs for AbstractDownloadStrategy#clear_cache"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-AbstractDownloadStrategy-clear_cache-for-pr
hub pull-request
# Celebrate!