setExtension

Just like std.path.setExtension, but operates on Path.

  1. Path!C setExtension(Path!C path, const(C2)[] ext)
    @trusted pure nothrow
    setExtension
    (
    C
    C2
    )
    (,
    const(C2)[] ext
    )
    if (
    is(C == Unqual!C2)
    )
  2. Path!C setExtension(Path!C path, Ext!C ext)
  3. immutable(Unqual!C1)[] setExtension(C1[] path, C2[] ext)
  4. immutable(C1)[] setExtension(immutable(C1)[] path, const(C2)[] ext)

Meta