Class: Homebrew::DevCmd::MirrorAttestations::Report Private
- Defined in:
- dev-cmd/mirror-attestations.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
-
#bottles ⇒ Hash{String => Integer}
readonly
private
Returns the value of prop
bottles. -
#census ⇒ Hash{Array<String> => Array<Integer>}
readonly
private
Sizes in bytes of the valid bundles seen, by signer, bundle format and log entry kind.
-
#complete ⇒ Boolean
private
Whether every formula was counted, which a run that stops early has not done.
-
#problems ⇒ Array<String>
readonly
private
Returns the value of prop
problems.
Instance Method Summary collapse
- #add(outcome, count = 1) ⇒ void private
- #initialize(bottles:, census:, problems:, complete: false) ⇒ void constructor
Constructor Details
#initialize(bottles:, census:, problems:, complete: false) ⇒ void
|
|
# File '' const :bottles, T::Hash[String, Integer], factory: -> { {} } const :census, T::Hash[T::Array[String], T::Array[Integer]], factory: -> { {} } const :problems, T::Array[String], factory: -> { [] } prop :complete, T::Boolean, default: false |
Instance Attribute Details
#bottles ⇒ Hash{String => Integer} (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 bottles.
|
|
# File '' const :bottles, T::Hash[String, Integer], factory: -> { {} } |
#census ⇒ Hash{Array<String> => Array<Integer>} (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.
Sizes in bytes of the valid bundles seen, by signer, bundle format and log entry kind.
|
|
# File '' const :census, T::Hash[T::Array[String], T::Array[Integer]], factory: -> { {} } |
#complete ⇒ Boolean
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.
Whether every formula was counted, which a run that stops early has not done.
|
|
# File '' prop :complete, T::Boolean, default: false |
#problems ⇒ Array<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 problems.
|
|
# File '' const :problems, T::Array[String], factory: -> { [] } |
Instance Method Details
#add(outcome, count = 1) ⇒ 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.
This method returns an undefined value.
50 51 52 |
# File 'dev-cmd/mirror-attestations.rb', line 50 def add(outcome, count = 1) bottles[outcome] = bottles.fetch(outcome, 0) + count end |