Class UnmutexedOverlayFSInternal

OverlayFS makes a read-only filesystem writable by storing writes on a second, writable file system. Deletes are persisted via metadata stored on the writable file system.

This class contains no locking whatsoever. It is mutexed to prevent races.

Hierarchy (view full)

Constructors

Properties

_disableSync?: boolean

Whether the sync cache should be disabled. Only affects async things.

readable: FileSystem
writable: FileSystem

Methods

  • Internal

    Called once to load up metadata stored on the writable file system.

    Returns Promise<void>