defaultExtension

Just like std.path.defaultExtension, but operates on Path and optionally Ext.

  1. Path!C defaultExtension(Path!C path, C2[] ext)
  2. Path!C defaultExtension(Path!C path, Ext!C ext)
    @trusted pure
    defaultExtension
    (
    C
    )
  3. immutable(Unqual!C1)[] defaultExtension(C1[] path, C2[] ext)

Meta