Function open

  • Asynchronous file open.

    Parameters

    • this: V_Context
    • path: PathLike
    • flag: OpenMode = 'r'

      Handles the complexity of the various file modes. See its API for more details.

    • mode: Mode = 0o644

      Mode to use to open the file. Can be ignored if the filesystem doesn't support permissions.

    Returns Promise<FileHandle>