Class: GitHubPackages::Image Private

Inherits:
T::Struct
  • Object
show all
Defined in:
github_packages.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.

An image built from a formula's bottles, ready to upload.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(root:, uri:, package_url:, index_sha256:, base_index_sha256: nil) ⇒ void

Parameters:

  • root (Pathname)
  • uri (String)
  • package_url (String)
  • index_sha256 (String)
  • base_index_sha256 (String, nil) (defaults to: nil) —

    The image index on GitHub Packages when this image was built, which --keep-old adds to.



# File ''

const :root, Pathname
const :uri, String
const :package_url, String
const :index_sha256, String
const :base_index_sha256, T.nilable(String)

Instance Attribute Details

#base_index_sha256 ⇒ 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.

The image index on GitHub Packages when this image was built, which --keep-old adds to.

Returns:



# File ''

const :base_index_sha256, T.nilable(String)

#index_sha256 ⇒ 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 index_sha256.

Returns:



# File ''

const :index_sha256, String

#package_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 package_url.

Returns:



# File ''

const :package_url, String

#root ⇒ Pathname (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 root.

Returns:



# File ''

const :root, Pathname

#uri ⇒ 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 uri.

Returns:



# File ''

const :uri, String