    # File lib/action_controller/vendor/rack-1.0/rack/directory.rb, line 110
        def list_path
          @stat = F.stat(@path)

          if @stat.readable?
            return @app.call(@env) if @stat.file?
            return list_directory if @stat.directory?
          else
            raise Errno::ENOENT, 'No such file or directory'
          end

        rescue Errno::ENOENT, Errno::ELOOP
          return entity_not_found
        end