Function open

  • Open a file.

    Parameters

    Returns void

  • Open a file.

    Parameters

    Returns void

  • Open a file.

    Parameters

    • path: PathLike

      file path

    • flags: OpenMode

      open flags (r, w, a, x, s, +)

    • mode: Mode

      set file mode (permission and sticky bits) [0o666 ⇒ RW]

    • callback: OpenCallback

      callback (err, fd)

    Returns void

  • Open a file.

    Parameters

    • path: PathLike

      file path

    • Optional flags: OpenMode

      open flags (r, w, a, x, s, +) [r]

    • Optional mode: Mode

      set file mode (permission and sticky bits) [0o666 ⇒ RW]

    Returns Promise<number>

Generated using TypeDoc