@runno/wasi
    Preparing search index...

    Class WASIDriveFileSystemProvider

    Ergonomic filesystem provider that delegates to the existing in-memory WASIDrive. Hosts construct one with a WASIFS (or an existing drive) and pass it as WASIXContext.fs.

    Implements

    Index

    Constructors

    Properties

    drive: WASIDrive

    Methods

    • Open a path relative to the directory fdDir. Returns the new fd. oflags / fdflags mirror preview1 semantics.

      Parameters

      • fdDir: number
      • _dirflags: number
      • path: string
      • oflags: number
      • _rightsBase: bigint
      • _rightsInheriting: bigint
      • fdflags: number

      Returns number