Function

Gio-2.0Giocontent_type_can_be_executable

  • Checks if a content type can be executable. Note that for instance things like text files can be executables (i.e. scripts and batch files).

    Parameters

    • type: string

      a content type string

    Returns boolean

    true if the file type corresponds to a type that can be executable, false otherwise.