# File lib/fsdb/util.rb, line 41
  def validate(path)
    path = canonical(path)
    unless valid?(path)
      raise InvalidPathError, "Path #{path} is outside the database."
    end
    path
  end