Class: Utils::Bottles::TagSpecification Private

Inherits:
Object
  • Object
show all
Defined in:
utils/bottles.rb

Overview

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.

The specification for a specific tag

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tag:, checksum:, cellar:, manifest_checksum: nil) ⇒ void

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.

Parameters:



373
374
375
376
377
378
# File 'utils/bottles.rb', line 373

def initialize(tag:, checksum:, cellar:, manifest_checksum: nil)
  @tag = tag
  @checksum = checksum
  @cellar = cellar
  @manifest_checksum = manifest_checksum
end

Instance Attribute Details

#cellar ⇒ Symbol, 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:



363
364
365
# File 'utils/bottles.rb', line 363

def cellar
  @cellar
end

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



360
361
362
# File 'utils/bottles.rb', line 360

def checksum
  @checksum
end

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

The checksum of this bottle's own GitHub Packages manifest.

Returns:



367
368
369
# File 'utils/bottles.rb', line 367

def manifest_checksum
  @manifest_checksum
end

#tag ⇒ Utils::Bottles::Tag (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:



357
358
359
# File 'utils/bottles.rb', line 357

def tag
  @tag
end