drupflare/worker - v1.0.4
    Preparing search index...

    Function replayStreams

    • Reopens each captured descriptor at the same fd number.

      FS.open() returns the next free descriptor, so the stream is relocated and the vacated slot nulled. The numeric flags go back as-is so the node ops see the mode PHP opened with. Failures are returned, not thrown, so the caller can refuse the restore before the memcpy.

      Parameters

      Returns ReplayResult