Luna::Path::append_extension

void append_extension(const c8 *new_extension, usize count)

Appends the extension.

The system adds one extension separator (".") between extension and filename automatically.

Parameters

  • in new_extension

    The new extension to replace.

  • in count

    The length of the new extension string.