Mounts an ISO file as a read-only file system.

Supports:

  • Vanilla ISO9660 ISOs
  • Microsoft Joliet and Rock Ridge extensions to the ISO9660 standard

Hierarchy

  • ReadonlyMixin & ExtractProperties<FileSystem, ((...args: any[]) => Promise<unknown>)> & FileSystem<this>
    • IsoFS

Constructors

  • Deprecated. Please use IsoFS.Create() method instead.

    Constructs a read-only file system from the given ISO.

    Parameters

    Returns IsoFS

Properties

_disableSync?: boolean

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

data: Uint8Array

Methods

  • Parameters

    • path: string
    • flag: string
    • mode: number

    Returns Promise<File<FileSystem>>

  • Parameters

    • path: string
    • flag: string
    • mode: number

    Returns File<FileSystem>

  • Test whether or not path exists.

    Parameters

    • path: string

    Returns Promise<boolean>

  • Test whether or not path exists.

    Parameters

    • path: string

    Returns boolean

  • Parameters

    • srcpath: string
    • dstpath: string

    Returns Promise<void>

  • Parameters

    • srcpath: string
    • dstpath: string

    Returns void

  • Get metadata about the current file system

    Returns FileSystemMetadata

  • Parameters

    • path: string
    • mode: number

    Returns Promise<void>

  • Parameters

    • path: string
    • mode: number

    Returns void

  • Opens the file at path with flag. The file must exist.

    Parameters

    • path: string

      The path to open.

    • flag: string

      The flag to use when opening the file.

    Returns Promise<File<FileSystem>>

  • Opens the file at path with flag. The file must exist.

    Parameters

    • path: string

      The path to open.

    • flag: string

      The flag to use when opening the file.

    Returns NoSyncFile<IsoFS>

  • Parameters

    • path: string

    Returns Promise<string[]>

  • Parameters

    • path: string

    Returns string[]

  • Returns Promise<void>

  • Parameters

    • oldPath: string
    • newPath: string

    Returns Promise<void>

  • Parameters

    • oldPath: string
    • newPath: string

    Returns void

  • Parameters

    • path: string

    Returns Promise<void>

  • Parameters

    • path: string

    Returns void

  • Parameters

    • path: string

    Returns Promise<Stats>

  • Parameters

    • path: string

    Returns Stats

  • Parameters

    • path: string
    • data: Uint8Array
    • stats: Readonly<Stats>

    Returns Promise<void>

  • Parameters

    • path: string
    • data: Uint8Array
    • stats: Readonly<Stats>

    Returns void

  • Parameters

    • path: string

    Returns Promise<void>

  • Parameters

    • path: string

    Returns void