Is there a special meaning of the / (slash) in the name of the brew? Or is it just a slash as a string?

你离开我真会死。 提交于 2021-02-11 13:32:57

问题


https://sass-lang.com/install suggests the following installation method:

If you use the Homebrew package manager for Mac OS X or Linux, you can install Dart Sass by running

brew install sass/sass/sass

Is there any special meaning to the /? Or is it simply a string of characters?


回答1:


The slashes have meaning, they separate the name into three parts. See for example https://docs.brew.sh/Taps:

If you need a formula to be installed from a particular tap, you can use fully qualified names to refer to them.

  • The first two parts are assumed to be a GitHub user/org and repo. The repo is prefixed with homebrew-, taking us to the tap: https://github.com/sass/homebrew-sass.
  • The third is the specific formula to install from that tap, sass.rb.


来源:https://stackoverflow.com/questions/63533548/is-there-a-special-meaning-of-the-slash-in-the-name-of-the-brew-or-is-it-ju

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!