25
26
27
28
29
|
# File 'lib/gitenv/config.rb', line 25
def copy(file, options = {})
raise 'You must specify a repository or a source directory to copy from' unless @context.from
Copy::Action.new(@context.dup, matcher(file), options).tap { |a| @actions << a }
end
|