Spec-Zone.ru › Homebrew

Class: SBOM::Source Private

Inherits:
T::Struct
  • Object
  • T::Struct
  • SBOM::Source
show all
Defined in:
sbom.rb

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

Instance Attribute Summary collapse

  • #bottle ⇒ Hash{String => T.untyped} readonly private

    Returns the value of prop bottle.

  • #checksum ⇒ Checksum? readonly private

    Returns the value of prop checksum.

  • #patches ⇒ Array<EmbeddedPatch, ExternalPatch> readonly private

    Returns the value of prop patches.

  • #path ⇒ String readonly private

    Returns the value of prop path.

  • #spec ⇒ Symbol readonly private

    Returns the value of prop spec.

  • #tap_git_head ⇒ String? readonly private

    Returns the value of prop tap_git_head.

  • #tap_name ⇒ String? readonly private

    Returns the value of prop tap_name.

  • #url ⇒ String? readonly private

    Returns the value of prop url.

  • #version ⇒ Version? readonly private

    Returns the value of prop version.

Instance Method Summary collapse

  • #initialize(path:, tap_name: nil, tap_git_head: nil, spec:, patches:, bottle:, version: nil, url: nil, checksum: nil) ⇒ void constructor

Constructor Details

#initialize(path:, tap_name: nil, tap_git_head: nil, spec:, patches:, bottle:, version: nil, url: nil, checksum: nil) ⇒ void

Parameters:

  • path (String)
  • tap_name (String, nil) (defaults to: nil)
  • tap_git_head (String, nil) (defaults to: nil)
  • spec (Symbol)
  • patches (Array<EmbeddedPatch, ExternalPatch>)
  • bottle (Hash{String => T.untyped})
  • version (Version, nil) (defaults to: nil)
  • url (String, nil) (defaults to: nil)
  • checksum (Checksum, nil) (defaults to: nil)
# File ''

const :path, String
const :tap_name, T.nilable(String)
const :tap_git_head, T.nilable(String)
const :spec, Symbol
const :patches, T::Array[T.any(EmbeddedPatch, ExternalPatch)]
const :bottle, T::Hash[String, T.untyped]
const :version, T.nilable(Version)
const :url, T.nilable(String)
const :checksum, T.nilable(Checksum)

Instance Attribute Details

#bottle ⇒ Hash{String => T.untyped} (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop bottle.

Returns:

  • (Hash{String => T.untyped})
# File ''

const :bottle, T::Hash[String, T.untyped]

#checksum ⇒ Checksum? (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop checksum.

Returns:

  • (Checksum, nil)
# File ''

const :checksum, T.nilable(Checksum)

#patches ⇒ Array<EmbeddedPatch, ExternalPatch> (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop patches.

Returns:

  • (Array<EmbeddedPatch, ExternalPatch>)
# File ''

const :patches, T::Array[T.any(EmbeddedPatch, ExternalPatch)]

#path ⇒ String (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop path.

Returns:

  • (String)
# File ''

const :path, String

#spec ⇒ Symbol (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop spec.

Returns:

  • (Symbol)
# File ''

const :spec, Symbol

#tap_git_head ⇒ String? (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop tap_git_head.

Returns:

  • (String, nil)
# File ''

const :tap_git_head, T.nilable(String)

#tap_name ⇒ String? (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop tap_name.

Returns:

  • (String, nil)
# File ''

const :tap_name, T.nilable(String)

#url ⇒ String? (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop url.

Returns:

  • (String, nil)
# File ''

const :url, T.nilable(String)

#version ⇒ Version? (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop version.

Returns:

  • (Version, nil)
# File ''

const :version, T.nilable(Version)

© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/SBOM/Source.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API