struct

Barista::Behaviors::Software::Merger

Inherits Struct < Value < Object

Copies files from source to destination Merger.new("/opt/barista/cache/task/build", "/opt/barista/embedded").execute

Can provide a block that takes a source and target params to stop a file copy

return true from the block to continue with the copy

return false to skip this file copy

Constructors

new(source : String, destination : String, exclude : Array(String) = [] of String, includes : Array(String) = [] of String, &block : Merger::Strategy)
Source
new(source : String, destination : String, exclude : Array(String) = [] of String, includes : Array(String) = [] of String)
Source

Instance methods

destination
Source
exclude
Source
exclusions
Source
includes
Source
inclusions
Source
relative_path_for(path, source)
Source
source
Source
strategy
Source

Nested types