isTrusted

Check if .desktop file is 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.Application type. Note: Always returns true on non-posix systems.

@trusted
bool
isTrusted
nothrow
()

Meta