mimePaths

Get shared MIME database paths based on dataPaths.

  1. auto mimePaths(Range dataPaths)
    mimePaths
    (
    Range
    )
    (
    Range dataPaths
    )
    if (
    isInputRange!Range &&
    is(ElementType!Range : string)
    )
  2. auto mimePaths()

Return Value

Type: auto

Range of paths where MIME database files are stored.

Examples

auto dataPaths = ["share", buildPath("local", "share")];
assert(equal(mimePaths(dataPaths), [buildPath("share", "mime"), buildPath("local", "share", "mime")]));

Meta