module Roda::RodaPlugins::HashPublic::InstanceMethods

def hash_path(file)

reasons, so this should not be called with untrusted input.
This does not check the file is inside the directory for performance
Return a path to the static file that could be served by r.hash_public.
def hash_path(file)
  "/#{opts[:hash_public_prefix]}/#{self.class.hash_path_digest(file)}/#{file}"
end