module FPM::Fry::Source::Null::Cache
A special cache that is empty.
Public Class Methods
cachekey()
click to toggle source
@return [String] 32 times zero
# File lib/fpm/fry/source.rb, line 26 def self.cachekey return '0' * 32 end
file_map()
click to toggle source
@return [Hash] an empty hash
# File lib/fpm/fry/source.rb, line 21 def self.file_map return {} end
prefix()
click to toggle source
@return [String] common path prefix of all files that should be stripped
# File lib/fpm/fry/source.rb, line 31 def self.prefix return "" end
tar_io()
click to toggle source
@return [IO] an empty tar
# File lib/fpm/fry/source.rb, line 16 def self.tar_io StringIO.new("\x00"*1024) end