can_be_executable


Description:

public bool can_be_executable (string type)

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

a content type string

Returns:

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


Namespace: GLib.ContentType
Package: gio-2.0