     }
        await zipReader.close()
      }

      // Normalize paths - this is crucial for isomorphic-git compatibility
      _normalizePath(filepath) {
        if (filepath === '/' || filepath === '') return ''
        if (filepath.startsWith('/')) return filepath.slice(1)
        return filepath
      }

      async readFile(filepath, options = {}) {
        const normalizedPath = this._normalizePath(filepath)
        const entry = this.entries.get(normalizedPath)

        if (!entry || entry.director