Module
Instance Methods
lib/fileutils.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/lib/fileutils.rb, line 1089
def fu_blksize(st)
s = st.blksize
return nil unless s
return nil if s == 0
s
end
No documentation available
lib/fileutils.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/lib/fileutils.rb, line 1096
def fu_default_blksize
1024
end
No documentation available
lib/fileutils.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/lib/fileutils.rb, line 1080
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
No documentation available
lib/fileutils.rb
View on GitHub
# File tmp/rubies/ruby-2.5.9/lib/fileutils.rb, line 1072
def fu_windows?
/mswin|mingw|bccwin|emx/ =~ RUBY_PLATFORM
end
No documentation available