module Bundler::FileUtils::StreamUtils_
def fu_blksize(st)
def fu_blksize(st) s = st.blksize return nil unless s return nil if s == 0 s end
def fu_copy_stream0(src, dest, blksize = nil) #:nodoc:
def fu_copy_stream0(src, dest, blksize = nil) #:nodoc: IO.copy_stream(src, dest) end
def fu_default_blksize
def fu_default_blksize 1024 end
def fu_stream_blksize(*streams)
def fu_stream_blksize(*streams) streams.each do |s| next unless s.respond_to?(:stat) size = fu_blksize(s.stat) return size if size end fu_default_blksize() end
def fu_windows?; true end
def fu_windows?; true end
def fu_windows?; false end
def fu_windows?; false end