tarlatan
    Preparing search index...

    Function flushDirectoryWith

    • Flushes directory's entries, so a rename inside it is stored; a failure is reported for the published path. The descriptor is closed in a finalizer on every path (review item M03); a failed close is logged and ignored, so a failed fsync stays the failure reported.

      Parameters

      Returns (path: string, directory: string) => Effect<void, StateFileFailed>