mimeInfoCacheFiles - multiple declarations

Function mimeInfoCacheFiles

Create MimeInfoCacheFile objects for paths.

MimeInfoCacheFile[] mimeInfoCacheFiles (
  const(string)[] paths
) nothrow @trusted;

Returns

Array of MimeInfoCacheFile objects read from paths. If some could not be read it's not included in the results.

Example

assert(mimeInfoCacheFiles(["test/applications/mimeinfo.cache"]).length == 1);

Function mimeInfoCacheFiles

ditto, but automatically read MimeInfoCacheFile objects from determined system paths.

MimeInfoCacheFile[] mimeInfoCacheFiles() nothrow @safe;

This function is Freedesktop only.