Skip to content

class Barista::Behaviors::Software::Commands::Patch
inherits Barista::Behaviors::Software::Commands::Base #

Constructors#

.new(patch_file : String, *, target : String | Nil = nil, plevel : Int32 = 1, chdir : String | Nil = nil, env : Hash(String, String) | Nil = nil, string : Bool = false)#

Methods#

#chdir#

#description : String#

A unique string representing this command

used to calculate the shasum for the builder

#env#

#execute#

executes the command

takes the name of the task, a BuildMeta for logging, and an optional file handle for logging.

#patch_file#

#plevel#

#string#