Function isTrusted
Check if .desktop file is trusted.
bool isTrusted
(
scope string appFileName
) nothrow @trusted;
This is not actually part of Desktop File Specification but many desktop envrionments have this concept.
The trusted .desktop file is a file the current user has executable access on or the owner of which is root.
This function should be applicable only to desktop files of DesktopEntry
type.
Note
Always returns true on non-posix systems.