Class: Homebrew::Bump::Commit

Inherits:
T::Struct
  • Object
show all
Defined in:
bump.rb

This class is part of an internal API. This class may only be used internally in repositories owned by Homebrew, except in casks or formulae. 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(sourcefile_path:, old_contents:, commit_message:, additional_files: []) ⇒ void

Parameters:



# File ''

const :sourcefile_path, Pathname
const :old_contents, String
const :commit_message, String
const :additional_files, T::Array[Pathname], default: []

Instance Attribute Details

#additional_filesArray<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 additional_files.

Returns:



# File ''

const :additional_files, T::Array[Pathname], default: []

#commit_messageString (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 commit_message.

Returns:



# File ''

const :commit_message, String

#old_contentsString (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 old_contents.

Returns:



# File ''

const :old_contents, String

#sourcefile_pathPathname (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 sourcefile_path.

Returns:



# File ''

const :sourcefile_path, Pathname