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 104 def hash_path(file) 105 "/#{opts[:hash_public_prefix]}/#{self.class.hash_path_digest(file)}/#{file}" 106 end