Public Instance methods
hash_path(file)
Return a path to the static file that could be served by r.hash_public. This does not check the file is inside the directory for performance reasons, so this should not be called with untrusted input.
[show source]
# File lib/roda/plugins/hash_public.rb 108 def hash_path(file) 109 "/#{self.class.hash_public_prefix}/#{self.class.hash_path_digest(file)}/#{file}" 110 end