Class: SBOM::Source Private

Inherits:
T::Struct
  • Object
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

Instance Method Summary collapse

Constructor Details

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

Parameters:



# 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

#bottleHash{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:



# File ''

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

#checksumChecksum? (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:



# File ''

const :checksum, T.nilable(Checksum)

#patchesArray<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.



# File ''

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

#pathString (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:



# File ''

const :path, String

#specSymbol (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:



# File ''

const :spec, Symbol

#tap_git_headString? (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:



# File ''

const :tap_git_head, T.nilable(String)

#tap_nameString? (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:



# File ''

const :tap_name, T.nilable(String)

#urlString? (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:



# File ''

const :url, T.nilable(String)

#versionVersion? (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:



# File ''

const :version, T.nilable(Version)