lib/rio/ops/file.rb in rio-0.3.4 vs lib/rio/ops/file.rb in rio-0.3.6

- old
+ new

@@ -34,10 +34,13 @@ # <b>Rio is pre-alpha software. # The documented interface and behavior is subject to change without notice.</b> require 'rio/cp' +require 'rio/piper/cp' +require 'rio/ops/either' + module RIO module Impl module U def self.copy(s,d) require 'fileutils' @@ -56,17 +59,17 @@ end module RIO module Ops module File module ExistOrNot - require 'rio/ops/either' include FileOrDir::ExistOrNot end module Existing include ExistOrNot include FileOrDir::Existing include Cp::File::Output include Cp::File::Input + include Piper::Cp::Input def selective? %w[stream_sel stream_nosel].any? { |k| cx.has_key?(k) } end def rm(*args)