A special Webgen::Path class for handling paths from a tar archive.
Create a new tar archive path object for the entry entry.
# File lib/webgen/source/tararchive.rb, line 29 def initialize(path, data, mtime, uri) super(path) {|mode| StringIO.new(data.to_s, mode) } @uri = uri @mtime = mtime WebsiteAccess.website.cache[[:tararchive_path, @uri, path]] = @mtime if WebsiteAccess.website @meta_info['modified_at'] = @mtime end
Generated with the Darkfish Rdoc Generator 2.