desktopId

  1. string desktopId(string fileName, Range appsPaths)
  2. string desktopId(string fileName)
    @trusted
    string
    desktopId
    nothrow
    (
    string fileName
    )

Parameters

fileName
Type: string

Desktop file. Note: This function retrieves applications paths each time it's called and therefore can impact performance. To avoid this issue use the overload with argument.

Return Value

Type: string

Desktop file ID or empty string if file does not have an ID.

See Also

desktopfile.paths.applicationsPaths

Meta