冲泡名称中的/(斜杠)是否有特殊含义?还是只是斜线作为字符串? [英] Is there a special meaning of the / (slash) in the name of the brew? Or is it just a slash as a string?

查看:80
本文介绍了冲泡名称中的/(斜杠)是否有特殊含义?还是只是斜线作为字符串?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

https://sass-lang.com/install 建议以下安装方法:

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

如果您将Homebrew软件包管理器用于Mac OS X或Linux,则可以通过运行安装Dart Sass

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?

推荐答案

斜杠具有含义,它们将名称分为三部分.例如,参见 https://docs.brew.sh/Taps :

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.

  • 假定前两个部分是GitHub用户/org和回购.该仓库以 homebrew-为前缀,将我们带到了水龙头: https://github.com/sass/homebrew-sass .
  • 第三个是要从该水龙头安装的特定公式 sass.rb .
    • 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.
    • 这篇关于冲泡名称中的/(斜杠)是否有特殊含义?还是只是斜线作为字符串?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆