openFile

    The native file dialog allows selecting one, and only one file.

    DisplayServer.swift:259
    case openFile

    Other cases

    • case openFiles

      The native file dialog allows selecting multiple files.

    • case openDir

      The native file dialog only allows selecting a directory, disallowing the selection of any file.

    • case openAny

      The native file dialog allows selecting one file or directory.

    • case saveFile

      The native file dialog will warn when a file exists.