Rather than using the name of the keg for the key use the full path. This provides several advantages: - there's no need to invalidate the cache on a `brew upgrade` or `brew switch` - it's easier to figure out what cache entries can be removed and this can be done whenever a keg is removed by `brew uninstall` or `brew cleanup`. Also, ensure that an `install` (or `reinstall`, `upgrade`) always results in the cache being rebuilt for that keg (in case different options were used).
Library
This directory contains all the code run by the official brew and brew cask commands in Homebrew and all formulae (package descriptions) in taps (repositories containing formulae) in Taps subdirectories.