source stringclasses 1
value | repo stringlengths 5 63 | repo_url stringlengths 24 82 | path stringlengths 5 167 | language stringclasses 1
value | license stringclasses 5
values | stars int64 10 51.4k | ref stringclasses 23
values | size_bytes int64 200 258k | text stringlengths 137 258k |
|---|---|---|---|---|---|---|---|---|---|
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/test_bot/cleanup_before.rb | Ruby | bsd-2-clause | 47,751 | main | 1,821 | # typed: strict
# frozen_string_literal: true
module Homebrew
module TestBot
class CleanupBefore < TestCleanup
sig { params(args: Homebrew::Cmd::TestBotCmd::Args).void }
def run!(args:)
test_header(:CleanupBefore)
if tap.to_s != CoreTap.instance.name && CoreTap.instance.installed?
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/test_bot/formulae.rb | Ruby | bsd-2-clause | 47,751 | main | 28,973 | # typed: strict
# frozen_string_literal: true
module Homebrew
module TestBot
class Formulae < TestFormulae
sig { params(testing_formulae: T::Array[String]).void }
attr_writer :testing_formulae
sig { params(added_formulae: T::Array[String]).void }
attr_writer :added_formulae
sig { ... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/test_bot/bottles_fetch.rb | Ruby | bsd-2-clause | 47,751 | main | 1,491 | # typed: strict
# frozen_string_literal: true
module Homebrew
module TestBot
class BottlesFetch < TestFormulae
sig { returns(T::Array[String]) }
attr_accessor :testing_formulae
sig { params(args: Homebrew::Cmd::TestBotCmd::Args).void }
def run!(args:)
info_header "Testing formula... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/test_bot/step.rb | Ruby | bsd-2-clause | 47,751 | main | 8,584 | # typed: strict
# frozen_string_literal: true
require "system_command"
require "utils/github/actions"
module Homebrew
module TestBot
# Wraps command invocations. Instantiated by Test#test.
# Handles logging and pretty-printing.
class Step
include SystemCommand::Mixin
sig { returns(T::Array[... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/test_bot/junit.rb | Ruby | bsd-2-clause | 47,751 | main | 2,078 | # typed: strict
# frozen_string_literal: true
module Homebrew
module TestBot
# Creates Junit report with only required by BuildPulse attributes
# See https://github.com/Homebrew/homebrew-test-bot/pull/621#discussion_r658712640
class Junit
sig { params(tests: T::Array[Test]).void }
def initial... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/test_bot/test_runner.rb | Ruby | bsd-2-clause | 47,751 | main | 11,868 | # typed: strict
# frozen_string_literal: true
require "test_bot/junit"
require "test_bot/test"
require "test_bot/test_cleanup"
require "test_bot/test_formulae"
require "test_bot/cleanup_after"
require "test_bot/cleanup_before"
require "test_bot/formulae_detect"
require "test_bot/formulae_dependents"
require "test_bot/... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/test_bot/cleanup_after.rb | Ruby | bsd-2-clause | 47,751 | main | 1,166 | # typed: strict
# frozen_string_literal: true
module Homebrew
module TestBot
class CleanupAfter < TestCleanup
sig { params(args: Homebrew::Cmd::TestBotCmd::Args).void }
def run!(args:)
if ENV["HOMEBREW_GITHUB_ACTIONS"].present? && ENV["GITHUB_ACTIONS_HOMEBREW_SELF_HOSTED"].blank? &&
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/test_bot/tap_syntax.rb | Ruby | bsd-2-clause | 47,751 | main | 1,045 | # typed: strict
# frozen_string_literal: true
module Homebrew
module TestBot
class TapSyntax < Test
sig { params(args: Homebrew::Cmd::TestBotCmd::Args).void }
def run!(args:)
test_header(:TapSyntax)
tapped = T.must(tap)
return unless tapped.installed?
unless args.stab... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/test_bot/test_formulae.rb | Ruby | bsd-2-clause | 47,751 | main | 19,994 | # typed: strict
# frozen_string_literal: true
module Homebrew
module TestBot
class TestFormulae < Test
sig { returns(T::Array[String]) }
attr_accessor :skipped_or_failed_formulae
sig { returns(Pathname) }
attr_reader :artifact_cache
sig {
params(
tap: T.nil... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/test_bot/test.rb | Ruby | bsd-2-clause | 47,751 | main | 2,941 | # typed: strict
# frozen_string_literal: true
require "utils/analytics"
require "utils/output"
module Homebrew
module TestBot
class Test
include Utils::Output::Mixin
sig { returns(T::Array[Step]) }
def failed_steps
@steps.select(&:failed?)
end
sig { returns(T::Array[Step]... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/test_bot/formulae_detect.rb | Ruby | bsd-2-clause | 47,751 | main | 10,888 | # typed: strict
# frozen_string_literal: true
module Homebrew
module TestBot
class FormulaeDetect < Test
sig { returns(T::Array[String]) }
attr_reader :testing_formulae, :added_formulae, :deleted_formulae
sig {
params(
argument: String,
tap: T.nilable(Tap),
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/test_bot/formulae_dependents.rb | Ruby | bsd-2-clause | 47,751 | main | 18,586 | # typed: strict
# frozen_string_literal: true
module Homebrew
module TestBot
class FormulaeDependents < TestFormulae
sig { params(testing_formulae: T::Array[String]).returns(T::Array[String]) }
attr_writer :testing_formulae
sig { params(tested_formulae: T::Array[String]).returns(T::Array[Strin... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/blank.rb | Ruby | bsd-2-clause | 47,751 | main | 4,450 | # typed: strict
# frozen_string_literal: true
class Object
# An object is blank if it's false, empty, or a whitespace string.
#
# For example, `nil`, `''`, `' '`, `[]`, `{}` and `false` are all blank.
#
# ### Example
#
# ```ruby
# !address || address.empty?
# ```
#
# can be simplified to
#
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/ENV.rb | Ruby | bsd-2-clause | 47,751 | main | 1,877 | # typed: strict
# frozen_string_literal: true
require "hardware"
require "diagnostic"
require "extend/ENV/shared"
require "extend/ENV/std"
require "extend/ENV/super"
# <!-- vale off -->
# @!parse
# # `ENV` is not actually a class, but this makes YARD happy
# # @see https://rubydoc.info/stdlib/core/ENV
# # <co... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/kernel.rb | Ruby | bsd-2-clause | 47,751 | main | 7,200 | # typed: strict
# frozen_string_literal: true
require "utils/output"
# Homebrew extends Ruby's `Kernel` to make our code more readable.
# Extending Kernel makes these methods available globally.
# TODO: move all of these to other modules e.g. Utils.
module Kernel
sig { params(env: T.nilable(String)).returns(T::Bool... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/module.rb | Ruby | bsd-2-clause | 47,751 | main | 295 | # typed: strict
# frozen_string_literal: true
class Module
include T::Sig
# The inverse of <tt>Module#include?</tt>. Returns true if the module
# does not include the other module.
sig { params(mod: T::Module[T.anything]).returns(T::Boolean) }
def exclude?(mod) = !include?(mod)
end |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/string.rb | Ruby | bsd-2-clause | 47,751 | main | 391 | # typed: strict
# frozen_string_literal: true
class String
# The inverse of <tt>String#include?</tt>. Returns true if the string
# does not include the other string.
#
# "hello".exclude? "lo" # => false
# "hello".exclude? "ol" # => true
# "hello".exclude? ?h # => false
sig { params(string: String... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/enumerable.rb | Ruby | bsd-2-clause | 47,751 | main | 1,063 | # typed: strict
# frozen_string_literal: true
module Enumerable
# The negative of the {Enumerable#include?}. Returns `true` if the
# collection does not include the object.
sig { params(object: T.untyped).returns(T::Boolean) }
def exclude?(object) = !include?(object)
# Returns a new +Array+ without the blan... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/array.rb | Ruby | bsd-2-clause | 47,751 | main | 3,504 | # typed: strict
# frozen_string_literal: true
class Array
# Equal to `self[1]`.
#
# ### Example
#
# ```ruby
# %w( a b c d e ).second # => "b"
# ```
def second = self[1]
# Equal to `self[2]`.
#
# ### Example
#
# ```ruby
# %w( a b c d e ).third # => "c"
# ```
def third = self[2]
# Equ... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/pathname.rb | Ruby | bsd-2-clause | 47,751 | main | 13,696 | # typed: strict
# frozen_string_literal: true
require "system_command"
require "extend/pathname/disk_usage_extension"
require "extend/pathname/observer_pathname_extension"
require "extend/pathname/write_mkpath_extension"
require "utils/output"
# Stubs needed to keep Sorbet happy.
# rubocop:disable Style/OneClassPerFi... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/pathname/disk_usage_extension.rb | Ruby | bsd-2-clause | 47,751 | main | 1,829 | # typed: strict
# frozen_string_literal: true
require "utils/formatter"
module DiskUsageExtension
extend T::Helpers
requires_ancestor { Pathname }
sig { returns(Integer) }
def disk_usage
@disk_usage ||= T.let(nil, T.nilable(Integer))
return @disk_usage unless @disk_usage.nil?
@file_count, @disk... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/pathname/observer_pathname_extension.rb | Ruby | bsd-2-clause | 47,751 | main | 2,111 | # typed: strict
# frozen_string_literal: true
require "context"
module ObserverPathnameExtension
extend T::Helpers
requires_ancestor { Pathname }
class << self
include Context
sig { returns(Integer) }
def n
@n ||= 0
end
sig { params(n: Integer).void }
attr_writer :n
sig { ... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/pathname/write_mkpath_extension.rb | Ruby | bsd-2-clause | 47,751 | main | 1,119 | # typed: strict
# frozen_string_literal: true
module WriteMkpathExtension
extend T::Helpers
requires_ancestor { Pathname }
# Source for `sig`: https://github.com/sorbet/sorbet/blob/b4092efe0a4489c28aff7e1ead6ee8a0179dc8b3/rbi/stdlib/pathname.rbi#L1392-L1411
sig {
params(
content: Object,
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/hash/keys.rb | Ruby | bsd-2-clause | 47,751 | main | 3,709 | # typed: strict
# frozen_string_literal: true
class Hash
# Validates all keys in a hash match `*valid_keys`, raising
# `ArgumentError` on a mismatch.
#
# Note that keys are treated differently than `HashWithIndifferentAccess`,
# meaning that string and symbol keys will not match.
#
# ### Example#
#
#... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/hash/deep_transform_values.rb | Ruby | bsd-2-clause | 47,751 | main | 1,425 | # typed: strict
# frozen_string_literal: true
class Hash
# Returns a new hash with all values converted by the block operation.
# This includes the values from the root hash and from all
# nested hashes and arrays.
#
# ### Example
#
# ```ruby
# hash = { person: { name: 'Rob', age: '28' } }
#
# hash... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/hash/deep_merge.rb | Ruby | bsd-2-clause | 47,751 | main | 1,120 | # typed: strict
# frozen_string_literal: true
class Hash
# Returns a new hash with `self` and `other_hash` merged recursively.
#
# ### Examples
#
# ```ruby
# h1 = { a: true, b: { c: [1, 2, 3] } }
# h2 = { a: false, b: { x: [3, 4, 5] } }
#
# h1.deep_merge(h2) # => { a: false, b: { c: [1, 2, 3], x: [3,... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/file/atomic.rb | Ruby | bsd-2-clause | 47,751 | main | 2,483 | # typed: strict
# frozen_string_literal: true
require "fileutils"
class File
# Write to a file atomically. Useful for situations where you don't
# want other processes or threads to see half-written files.
#
# File.atomic_write('important.file') do |file|
# file.write('hello')
# end
#
# This m... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/object/deep_dup.rb | Ruby | bsd-2-clause | 47,751 | main | 1,718 | # typed: strict
# frozen_string_literal: true
require "extend/object/duplicable"
class Object
# Returns a deep copy of object if it's duplicable. If it's
# not duplicable, returns +self+.
#
# object = Object.new
# dup = object.deep_dup
# dup.instance_variable_set(:@a, 1)
#
# object.instance... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/object/duplicable.rb | Ruby | bsd-2-clause | 47,751 | main | 1,924 | # typed: strict
# frozen_string_literal: true
# Most objects are cloneable, but not all. For example you can't dup methods:
#
# ```ruby
# method(:puts).dup # => TypeError: allocator undefined for Method
# ```
#
# Classes may signal their instances are not duplicable removing +dup+/+clone+
# or raising exceptions from ... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/ENV/super.rb | Ruby | bsd-2-clause | 47,751 | main | 12,485 | # typed: strict
# frozen_string_literal: true
require "extend/ENV/shared"
require "development_tools"
require "utils/output"
# ### Why `superenv`?
#
# 1. Only specify the environment we need (*NO* LDFLAGS for cmake)
# 2. Only apply compiler-specific options when we are calling that compiler
# 3. Force all incpaths an... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/ENV/std.rb | Ruby | bsd-2-clause | 47,751 | main | 5,731 | # typed: strict
# frozen_string_literal: true
require "hardware"
require "extend/ENV/shared"
module Stdenv
include SharedEnvExtension
SAFE_CFLAGS_FLAGS = "-w -pipe"
private_constant :SAFE_CFLAGS_FLAGS
sig {
params(
formula: T.nilable(Formula),
cc: T.nilable(String),
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/ENV/shared.rb | Ruby | bsd-2-clause | 47,751 | main | 10,356 | # typed: strict
# frozen_string_literal: true
require "compilers"
require "development_tools"
# Homebrew extends Ruby's `ENV` to make our code more readable.
# Implemented in {SharedEnvExtension} and either {Superenv} or
# {Stdenv} (depending on the build mode).
# @see Superenv
# @see Stdenv
# @see https://www.rubydo... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/keg.rb | Ruby | bsd-2-clause | 47,751 | main | 6,652 | # typed: strict
# frozen_string_literal: true
require "system_command"
module OS
module Mac
module Keg
include SystemCommand::Mixin
module ClassMethods
sig { returns(T::Array[String]) }
def keg_link_directories
@keg_link_directories ||= T.let((super + ["Frameworks"]).freez... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/dependency_collector.rb | Ruby | bsd-2-clause | 47,751 | main | 579 | # typed: true # rubocop:disable Sorbet/StrictSigil
# frozen_string_literal: true
module OS
module Mac
module DependencyCollector
def git_dep_if_needed(tags); end
def subversion_dep_if_needed(tags)
Dependency.new("subversion", [*tags, :implicit])
end
def cvs_dep_if_needed(tags)
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/tap.rb | Ruby | bsd-2-clause | 47,751 | main | 329 | # typed: strict
# frozen_string_literal: true
module OS
module Mac
module Tap
module ClassMethods
sig { returns(T::Array[::Tap]) }
def core_taps
[CoreTap.instance, CoreCaskTap.instance].freeze
end
end
end
end
end
Tap.singleton_class.prepend(OS::Mac::Tap::Class... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/cleaner.rb | Ruby | bsd-2-clause | 47,751 | main | 377 | # typed: strict
# frozen_string_literal: true
module OS
module Mac
module Cleaner
private
sig { params(path: ::Pathname).returns(T::Boolean) }
def executable_path?(path)
return true if path.text_executable?
path = MachOPathname.wrap(path)
path.mach_o_executable?
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/missing_formula.rb | Ruby | bsd-2-clause | 47,751 | main | 1,800 | # typed: strict
# frozen_string_literal: true
require "cask/info"
require "cask/cask_loader"
require "cask/caskroom"
module OS
module Mac
module MissingFormula
module ClassMethods
sig { params(name: String).returns(T.nilable(String)) }
def disallowed_reason(name)
case name.downca... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/reinstall.rb | Ruby | bsd-2-clause | 47,751 | main | 1,163 | # typed: strict
# frozen_string_literal: true
require "install"
require "utils/output"
module OS
module Mac
module Reinstall
module ClassMethods
extend T::Helpers
include ::Utils::Output::Mixin
requires_ancestor { ::Homebrew::Reinstall }
sig { params(dry_run: T::Boolean).... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/hardware.rb | Ruby | bsd-2-clause | 47,751 | main | 892 | # typed: strict
# frozen_string_literal: true
module OS
module Mac
module Hardware
module ClassMethods
sig { params(version: T.nilable(MacOSVersion)).returns(Symbol) }
def oldest_cpu(version = nil)
version = if version
MacOSVersion.new(version.to_s)
else
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/simulate_system.rb | Ruby | bsd-2-clause | 47,751 | main | 610 | # typed: strict
# frozen_string_literal: true
module OS
module Mac
module SimulateSystem
module ClassMethods
sig { returns(T::Boolean) }
def simulating_or_running_on_macos?
return true if Homebrew::SimulateSystem.os.blank?
[:macos, *MacOSVersion::SYMBOLS.keys].include?(... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/system_config.rb | Ruby | bsd-2-clause | 47,751 | main | 2,831 | # typed: strict
# frozen_string_literal: true
require "system_command"
module OS
module Mac
module SystemConfig
module ClassMethods
extend T::Helpers
requires_ancestor { T.class_of(::SystemConfig) }
sig { void }
def initialize
@xcode = T.let(nil, T.nilable(Strin... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/keg_relocate.rb | Ruby | bsd-2-clause | 47,751 | main | 11,685 | # typed: strict
# frozen_string_literal: true
module OS
module Mac
module Keg
extend T::Helpers
requires_ancestor { ::Keg }
module ClassMethods
sig { params(file: ::Pathname, string: String).returns(T::Array[String]) }
def file_linked_libraries(file, string)
file = M... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/formula_cellar_checks.rb | Ruby | bsd-2-clause | 47,751 | main | 5,127 | # typed: strict
# frozen_string_literal: true
require "cache_store"
require "linkage_checker"
module OS
module Mac
module FormulaCellarChecks
extend T::Helpers
requires_ancestor { Homebrew::FormulaAuditor }
requires_ancestor { ::FormulaCellarChecks }
sig { returns(T.nilable(String)) }
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/linkage_checker.rb | Ruby | bsd-2-clause | 47,751 | main | 935 | # typed: strict
# frozen_string_literal: true
module OS
module Mac
module LinkageChecker
private
sig { returns(T::Boolean) }
def system_libraries_exist_in_cache?
# In macOS Big Sur and later, system libraries do not exist on-disk and instead exist in a cache.
MacOS.version >= :... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/development_tools.rb | Ruby | bsd-2-clause | 47,751 | main | 2,609 | # typed: strict
# frozen_string_literal: true
require "os/mac/xcode"
module OS
module Mac
module DevelopmentTools
module ClassMethods
extend T::Helpers
requires_ancestor { ::DevelopmentTools }
sig { params(tool: T.any(String, Symbol)).returns(T.nilable(::Pathname)) }
def ... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/cleanup.rb | Ruby | bsd-2-clause | 47,751 | main | 375 | # typed: strict
# frozen_string_literal: true
module OS
module Mac
module Cleanup
sig { returns(T::Boolean) }
def use_system_ruby?
return false if Homebrew::EnvConfig.force_vendor_ruby?
::Homebrew::EnvConfig.developer? && ENV["HOMEBREW_USE_RUBY_FROM_PATH"].present?
end
end
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/formula.rb | Ruby | bsd-2-clause | 47,751 | main | 1,137 | # typed: strict
# frozen_string_literal: true
module OS
module Mac
module Formula
extend T::Helpers
requires_ancestor { ::Formula }
sig { returns(T::Boolean) }
def valid_platform?
requirements.none?(LinuxRequirement)
end
sig {
params(
install_prefi... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/pkgconf.rb | Ruby | bsd-2-clause | 47,751 | main | 1,433 | # typed: strict
# frozen_string_literal: true
module Homebrew
module Pkgconf
module_function
sig { returns(T.nilable([String, String])) }
def macos_sdk_mismatch
# We don't provide suitable bottles for these versions.
return if OS::Mac.version.prerelease? || OS::Mac.version.outdated_release?
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/diagnostic.rb | Ruby | bsd-2-clause | 47,751 | main | 21,213 | # typed: strict
# frozen_string_literal: true
require "extend/os/mac/pkgconf"
module OS
module Mac
module Diagnostic
class Volumes
sig { void }
def initialize
@volumes = T.let(get_mounts, T::Array[String])
end
sig { params(path: T.nilable(::Pathname)).returns(Int... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/formula_installer.rb | Ruby | bsd-2-clause | 47,751 | main | 512 | # typed: strict
# frozen_string_literal: true
module OS
module Mac
module FormulaInstaller
extend T::Helpers
requires_ancestor { ::FormulaInstaller }
sig { params(formula: Formula).returns(T.nilable(T::Boolean)) }
def fresh_install?(formula)
!::Homebrew::EnvConfig.developer? && ... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/sandbox.rb | Ruby | bsd-2-clause | 47,751 | main | 411 | # typed: strict
# frozen_string_literal: true
module OS
module Mac
module Sandbox
module ClassMethods
extend T::Helpers
requires_ancestor { T.class_of(::Sandbox) }
sig { returns(T::Boolean) }
def available?
File.executable?(::Sandbox::SANDBOX_EXEC)
end
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/readall.rb | Ruby | bsd-2-clause | 47,751 | main | 1,603 | # typed: strict
# frozen_string_literal: true
require "utils/output"
module OS
module Mac
module Readall
module ClassMethods
extend T::Helpers
include ::Utils::Output::Mixin
requires_ancestor { Kernel }
sig { params(tap: ::Tap, os_name: T.nilable(Symbol), arch: T.nilable(... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/utils/socket.rb | Ruby | bsd-2-clause | 47,751 | main | 885 | # typed: strict
# frozen_string_literal: true
require "socket"
module OS
module Mac
# Wrapper around UNIXSocket to allow > 104 characters on macOS.
module UNIXSocketExt
module ClassMethods
extend T::Helpers
requires_ancestor { Kernel }
sig { params(path: String).returns(Strin... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/utils/bottles.rb | Ruby | bsd-2-clause | 47,751 | main | 1,938 | # typed: strict
# frozen_string_literal: true
module OS
module Mac
module Bottles
module ClassMethods
sig { params(tag: T.nilable(T.any(Symbol, Utils::Bottles::Tag))).returns(Utils::Bottles::Tag) }
def tag(tag = nil)
if tag.nil?
Utils::Bottles::Tag.new(system: MacOS.ve... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/bundle/skipper.rb | Ruby | bsd-2-clause | 47,751 | main | 863 | # typed: strict
# frozen_string_literal: true
module OS
module Mac
module Bundle
module Skipper
module ClassMethods
sig { params(entry: Homebrew::Bundle::Dsl::Entry).returns(T::Boolean) }
def linux_only_entry?(entry)
entry.type == :flatpak
end
si... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/hardware/cpu.rb | Ruby | bsd-2-clause | 47,751 | main | 6,236 | # typed: strict
# frozen_string_literal: true
require "macho"
module OS
module Mac
module Hardware
module CPU
module ClassMethods
extend T::Helpers
# These methods use info spewed out by sysctl.
# Look in <mach/machine.h> for decoding info.
sig { returns(Sy... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/unpack_strategy/zip.rb | Ruby | bsd-2-clause | 47,751 | main | 2,417 | # typed: strict
# frozen_string_literal: true
require "system_command"
module UnpackStrategy
class Zip
module MacOSZipExtension
extend T::Helpers
requires_ancestor { UnpackStrategy }
private
sig { params(unpack_dir: Pathname, basename: Pathname, verbose: T::Boolean).void }
def e... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/language/java.rb | Ruby | bsd-2-clause | 47,751 | main | 630 | # typed: strict
# frozen_string_literal: true
module OS
module Mac
module Language
module Java
module ClassMethods
extend T::Helpers
requires_ancestor { T.class_of(::Language::Java) }
sig { params(version: T.nilable(String)).returns(T.nilable(::Pathname)) }
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/cask/dsl.rb | Ruby | bsd-2-clause | 47,751 | main | 375 | # typed: strict
# frozen_string_literal: true
require "cask/macos"
module OS
module Mac
module Cask
module DSL
extend T::Helpers
requires_ancestor { ::Cask::DSL }
sig { returns(T.nilable(MacOSVersion)) }
def os_version
MacOS.full_version
end
end
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/cask/artifact/abstract_uninstall.rb | Ruby | bsd-2-clause | 47,751 | main | 541 | # typed: strict
# frozen_string_literal: true
require "cask/macos"
module OS
module Mac
module Cask
module Artifact
module AbstractUninstall
extend T::Helpers
requires_ancestor { ::Cask::Artifact::AbstractUninstall }
sig { params(target: ::Pathname).returns(T::Boole... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/cask/artifact/symlinked.rb | Ruby | bsd-2-clause | 47,751 | main | 780 | # typed: strict
# frozen_string_literal: true
require "cask/macos"
module OS
module Mac
module Cask
module Artifact
module Symlinked
extend T::Helpers
requires_ancestor { ::Cask::Artifact::Symlinked }
sig { params(command: T.class_of(SystemCommand)).void }
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/cask/artifact/moved.rb | Ruby | bsd-2-clause | 47,751 | main | 493 | # typed: strict
# frozen_string_literal: true
require "cask/macos"
module OS
module Mac
module Cask
module Artifact
module Moved
extend T::Helpers
requires_ancestor { ::Cask::Artifact::Moved }
sig { params(target: ::Pathname).returns(T::Boolean) }
def unde... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/cmd/info.rb | Ruby | bsd-2-clause | 47,751 | main | 400 | # typed: strict
# frozen_string_literal: true
module OS
module Mac
module Cmd
module Info
private
sig { params(requirement: Requirement).returns(T::Boolean) }
def requirement_for_other_os?(requirement)
requirement.instance_of?(::LinuxRequirement)
end
end
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/dev-cmd/tests.rb | Ruby | bsd-2-clause | 47,751 | main | 616 | # typed: strict
# frozen_string_literal: true
module OS
module Mac
module DevCmd
module Tests
extend T::Helpers
requires_ancestor { Homebrew::DevCmd::Tests }
private
sig { params(bundle_args: T::Array[String]).returns(T::Array[String]) }
def os_bundle_args(bundle_... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/dev-cmd/bottle.rb | Ruby | bsd-2-clause | 47,751 | main | 496 | # typed: strict
# frozen_string_literal: true
module OS
module Mac
module DevCmd
module Bottle
sig { returns(T::Array[String]) }
def tar_args
["--no-mac-metadata", "--no-acls", "--no-xattrs"].freeze
end
sig { params(gnu_tar_formula: Formula).returns(String) }
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/extend/pathname.rb | Ruby | bsd-2-clause | 47,751 | main | 854 | # typed: strict
# frozen_string_literal: true
require "os/mac/mach"
module MachOPathname
module ClassMethods
sig { params(path: T.any(Pathname, String, MachOShim)).returns(MachOShim) }
def wrap(path)
return path if path.is_a?(MachOShim)
path = ::Pathname.new(path)
path.extend(MachOShim)
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/extend/ENV/super.rb | Ruby | bsd-2-clause | 47,751 | main | 6,729 | # typed: strict
# frozen_string_literal: true
module OS
module Mac
module Superenv
extend T::Helpers
requires_ancestor { SharedEnvExtension }
requires_ancestor { ::Superenv }
module ClassMethods
sig { returns(::Pathname) }
def shims_path
HOMEBREW_SHIMS_PATH/"ma... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/extend/ENV/shared.rb | Ruby | bsd-2-clause | 47,751 | main | 1,439 | # typed: strict
# frozen_string_literal: true
module OS
module Mac
module SharedEnvExtension
extend T::Helpers
requires_ancestor { ::SharedEnvExtension }
sig {
params(
formula: T.nilable(::Formula),
cc: T.nilable(String),
build_bottle... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/mac/extend/ENV/std.rb | Ruby | bsd-2-clause | 47,751 | main | 4,916 | # typed: strict
# frozen_string_literal: true
module OS
module Mac
module Stdenv
extend T::Helpers
requires_ancestor { SharedEnvExtension }
requires_ancestor { ::Stdenv }
sig { returns(T::Array[::Pathname]) }
def homebrew_extra_pkg_config_paths
%W[
#{HOMEBREW_LIB... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/simulate_system.rb | Ruby | bsd-2-clause | 47,751 | main | 682 | # typed: strict
# frozen_string_literal: true
module OS
module Linux
module SimulateSystem
module ClassMethods
sig { returns(T.nilable(Symbol)) }
def os
@os ||= T.let(nil, T.nilable(Symbol))
return :macos if @os.blank? && Homebrew::EnvConfig.simulate_macos_on_linux?
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/install.rb | Ruby | bsd-2-clause | 47,751 | main | 4,257 | # typed: strict
# frozen_string_literal: true
require "os/linux/ld"
require "os/linux/libstdcxx"
require "utils/output"
module OS
module Linux
module Install
module ClassMethods
# We link GCC runtime libraries that are not specifically used for Fortran,
# which are linked by the GCC formul... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/dependency_collector.rb | Ruby | bsd-2-clause | 47,751 | main | 3,496 | # typed: strict
# frozen_string_literal: true
require "os/linux/glibc"
module OS
module Linux
module DependencyCollector
sig { params(related_formula_names: T::Set[String]).returns(T.nilable(Dependency)) }
def gcc_dep_if_needed(related_formula_names)
# gcc is required for libgcc_s.so.1 if gl... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/cleanup.rb | Ruby | bsd-2-clause | 47,751 | main | 835 | # typed: strict
# frozen_string_literal: true
module OS
module Linux
module Cleanup
extend T::Helpers
requires_ancestor { Homebrew::Cleanup }
sig { returns(T::Boolean) }
def use_system_ruby?
return false if Homebrew::EnvConfig.force_vendor_ruby?
rubies = [which("ruby"),... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/formula.rb | Ruby | bsd-2-clause | 47,751 | main | 1,635 | # typed: strict
# frozen_string_literal: true
module OS
module Linux
module Formula
extend T::Helpers
requires_ancestor { ::Formula }
sig { params(name: String, version: T.nilable(T.any(String, Integer))).returns(String) }
def shared_library(name, version = nil)
suffix = if vers... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/search.rb | Ruby | bsd-2-clause | 47,751 | main | 357 | # typed: strict
# frozen_string_literal: true
module OS
module Linux
module Search
module ClassMethods
sig { params(cask: ::Cask::Cask).returns(T::Boolean) }
def ignore_cask?(cask)
!cask.supports_linux?
end
end
end
end
end
Homebrew::Search.singleton_class.prep... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/development_tools.rb | Ruby | bsd-2-clause | 47,751 | main | 2,813 | # typed: strict
# frozen_string_literal: true
module OS
module Linux
module DevelopmentTools
module ClassMethods
extend T::Helpers
requires_ancestor { ::DevelopmentTools }
sig { params(tool: T.any(String, Symbol)).returns(T.nilable(::Pathname)) }
def locate(tool)
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/diagnostic.rb | Ruby | bsd-2-clause | 47,751 | main | 9,471 | # typed: strict
# frozen_string_literal: true
require "tempfile"
require "utils/shell"
require "hardware"
require "os/linux/glibc"
require "os/linux/kernel"
module OS
module Linux
module Diagnostic
# Linux-specific diagnostic checks for Homebrew.
module Checks
extend T::Helpers
requ... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/keg.rb | Ruby | bsd-2-clause | 47,751 | main | 232 | # typed: strict
# frozen_string_literal: true
module OS
module Linux
module Keg
sig { returns(T::Array[ELFShim]) }
def binary_executable_or_library_files = elf_files
end
end
end
Keg.prepend(OS::Linux::Keg) |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/formula_installer.rb | Ruby | bsd-2-clause | 47,751 | main | 284 | # typed: strict
# frozen_string_literal: true
class FormulaInstaller
sig { params(formula: Formula).returns(T.nilable(T::Boolean)) }
def fresh_install?(formula)
!Homebrew::EnvConfig.developer? &&
(!installed_as_dependency? || !formula.any_version_installed?)
end
end |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/compilers.rb | Ruby | bsd-2-clause | 47,751 | main | 449 | # typed: strict
# frozen_string_literal: true
module OS
module Linux
module CompilerSelector
module ClassMethods
extend T::Helpers
requires_ancestor { T.class_of(::CompilerSelector) }
sig { returns(String) }
def preferred_gcc
OS::LINUX_PREFERRED_GCC_COMPILER_FORM... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/formula_cellar_checks.rb | Ruby | bsd-2-clause | 47,751 | main | 357 | # typed: strict
# frozen_string_literal: true
module OS
module Linux
module FormulaCellarChecks
sig { params(filename: ::Pathname).returns(T::Boolean) }
def valid_library_extension?(filename)
super || filename.basename.to_s.include?(".so.")
end
end
end
end
FormulaCellarChecks.pre... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/keg_relocate.rb | Ruby | bsd-2-clause | 47,751 | main | 4,018 | # typed: strict
# frozen_string_literal: true
require "compilers"
module OS
module Linux
module Keg
extend T::Helpers
requires_ancestor { ::Keg }
sig { params(relocation: ::Keg::Relocation, skip_protodesc_cold: T::Boolean).void }
def relocate_dynamic_linkage(relocation, skip_protodesc_... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/bottle_specification.rb | Ruby | bsd-2-clause | 47,751 | main | 204 | # typed: strict
# frozen_string_literal: true
class BottleSpecification
sig { params(tag: Utils::Bottles::Tag).returns(T::Boolean) }
def skip_relocation?(tag: Utils::Bottles.tag)
false
end
end |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/system_config.rb | Ruby | bsd-2-clause | 47,751 | main | 2,525 | # typed: strict
# frozen_string_literal: true
require "compilers"
require "os/linux/glibc"
require "os/linux/libstdcxx"
require "system_command"
module OS
module Linux
module SystemConfig
module ClassMethods
include SystemCommand::Mixin
HOST_RUBY_PATH = "/usr/bin/ruby"
sig { retu... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/linkage_checker.rb | Ruby | bsd-2-clause | 47,751 | main | 1,915 | # typed: strict
# frozen_string_literal: true
require "compilers"
require "os/linux/libstdcxx"
module OS
module Linux
module LinkageChecker
extend T::Helpers
requires_ancestor { ::LinkageChecker }
# Libraries provided by glibc and gcc.
SYSTEM_LIBRARY_ALLOWLIST = T.let(%W[
ld-li... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/cleaner.rb | Ruby | bsd-2-clause | 47,751 | main | 345 | # typed: strict
# frozen_string_literal: true
module OS
module Linux
module Cleaner
private
sig { params(path: ::Pathname).returns(T::Boolean) }
def executable_path?(path)
return true if path.text_executable?
ELFPathname.wrap(path).elf?
end
end
end
end
Cleaner.pre... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/cmd/update-report.rb | Ruby | bsd-2-clause | 47,751 | main | 980 | # typed: strict
# frozen_string_literal: true
module Homebrew
module_function
sig { returns(String) }
def no_changes_message
"No changes to formulae."
end
sig { void }
def migrate_gcc_dependents_if_needed
return if Settings.read("gcc-rpaths.fixed") == "true"
Formula.installed.each do |formul... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/cmd/info.rb | Ruby | bsd-2-clause | 47,751 | main | 404 | # typed: strict
# frozen_string_literal: true
module OS
module Linux
module Cmd
module Info
private
sig { params(requirement: Requirement).returns(T::Boolean) }
def requirement_for_other_os?(requirement)
requirement.instance_of?(::MacOSRequirement)
end
end
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/extend/pathname.rb | Ruby | bsd-2-clause | 47,751 | main | 843 | # typed: strict
# frozen_string_literal: true
require "os/linux/elf"
module ELFPathname
module ClassMethods
sig { params(path: T.any(Pathname, String, ELFShim)).returns(ELFShim) }
def wrap(path)
return path if path.is_a?(ELFShim)
path = ::Pathname.new(path)
path.extend(ELFShim)
T.ca... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/extend/ENV/super.rb | Ruby | bsd-2-clause | 47,751 | main | 3,580 | # typed: strict
# frozen_string_literal: true
module OS
module Linux
module Superenv
extend T::Helpers
requires_ancestor { SharedEnvExtension }
requires_ancestor { ::Superenv }
module ClassMethods
sig { returns(::Pathname) }
def shims_path
HOMEBREW_SHIMS_PATH/"... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/extend/ENV/shared.rb | Ruby | bsd-2-clause | 47,751 | main | 588 | # typed: strict
# frozen_string_literal: true
module OS
module Linux
module SharedEnvExtension
extend T::Helpers
requires_ancestor { ::SharedEnvExtension }
sig { returns(Symbol) }
def effective_arch
if build_bottle && (bottle_arch = self.bottle_arch)
bottle_arch.to_sym... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/extend/ENV/std.rb | Ruby | bsd-2-clause | 47,751 | main | 1,268 | # typed: strict
# frozen_string_literal: true
module OS
module Linux
module Stdenv
extend T::Helpers
requires_ancestor { ::SharedEnvExtension }
sig {
params(
formula: T.nilable(::Formula),
cc: T.nilable(String),
build_bottle: T.nil... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/hardware/cpu.rb | Ruby | bsd-2-clause | 47,751 | main | 5,541 | # typed: strict
# frozen_string_literal: true
module OS
module Linux
module Hardware
module CPU
module ClassMethods
extend T::Helpers
requires_ancestor { T.class_of(::Hardware::CPU) }
sig { returns(T::Hash[Symbol, String]) }
def optimization_flags
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/dev-cmd/bottle.rb | Ruby | bsd-2-clause | 47,751 | main | 1,131 | # typed: strict
# frozen_string_literal: true
module OS
module Linux
module DevCmd
module Bottle
sig { params(formula: Formula).returns(T::Array[Regexp]) }
def formula_ignores(formula)
ignores = super
cellar_regex = Regexp.escape(HOMEBREW_CELLAR)
prefix_regex ... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/dev-cmd/update-test.rb | Ruby | bsd-2-clause | 47,751 | main | 367 | # typed: strict
# frozen_string_literal: true
module OS
module Linux
module DevCmd
module UpdateTest
private
sig { returns(String) }
def git_tags
super.presence || Utils.popen_read("git tag --list | sort -rV")
end
end
end
end
end
Homebrew::DevCmd::Upd... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/dev-cmd/tests.rb | Ruby | bsd-2-clause | 47,751 | main | 620 | # typed: strict
# frozen_string_literal: true
module OS
module Linux
module DevCmd
module Tests
extend T::Helpers
requires_ancestor { Homebrew::DevCmd::Tests }
private
sig { params(bundle_args: T::Array[String]).returns(T::Array[String]) }
def os_bundle_args(bundl... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/cask/installer.rb | Ruby | bsd-2-clause | 47,751 | main | 822 | # typed: strict
# frozen_string_literal: true
module OS
module Linux
module Cask
module Installer
extend T::Helpers
requires_ancestor { ::Cask::Installer }
sig { void }
def check_stanza_os_requirements
return if artifacts.all? { |artifact| supported_artifact?(art... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/cask/quarantine.rb | Ruby | bsd-2-clause | 47,751 | main | 417 | # typed: strict
# frozen_string_literal: true
module OS
module Linux
module Cask
module Quarantine
module ClassMethods
extend T::Helpers
requires_ancestor { ::Cask::Quarantine }
sig { returns(T::Boolean) }
def available? = false
end
end
en... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/cask/caskroom.rb | Ruby | bsd-2-clause | 47,751 | main | 451 | # typed: strict
# frozen_string_literal: true
module OS
module Linux
module Cask
module Caskroom
module ClassMethods
sig { params(path: ::Pathname, _sudo: T::Boolean).void }
def chgrp_path(path, _sudo)
SystemCommand.run("chgrp", args: ["root", path], sudo: true)
... |
github | Homebrew/brew | https://github.com/Homebrew/brew | Library/Homebrew/extend/os/linux/cask/config.rb | Ruby | bsd-2-clause | 47,751 | main | 792 | # typed: strict
# frozen_string_literal: true
require "os/linux"
module OS
module Linux
module Cask
module Config
module ClassMethods
DEFAULT_DIRS = T.let({
vst_plugindir: "~/.vst",
vst3_plugindir: "~/.vst3",
fontdir: "#{ENV.fetch("HOMEBREW_XDG... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.