Method: ConfCtl::NixCopy#initialize

Defined in:
lib/confctl/nix_copy.rb

#initialize(target, store_paths) ⇒ NixCopy

Returns a new instance of NixCopy.

Parameters:

  • target (String)
  • store_paths (Array<String>)


5
6
7
8
9
10
# File 'lib/confctl/nix_copy.rb', line 5

def initialize(target, store_paths)
  @target = target
  @store_paths = store_paths
  @total = nil
  @progress = 0
end