this.entries.set(dirPath, {
          filename: dirPath,
          directory: true
        })
        this.modified.add(dirPath)
      }

      async readdir(dirpath) {
        const normalizedPath = this._normalizePath(dirpath)
        const searchPath = normalizedPath === '' ? '' : (normalizedPath.endsWith('/') ? normalizedPath : normalizedPath + '/')
        const results = []

        for (const [filename] of this.entries) {
          if (filename.startsWith(searchPath) && filename !== searchPath) {
   