Path.withName
Path withName(string newName) const @safeReturns a new Path with the file name replaced.
Parameters
newName | The new file or directory name. |
Returns
A new Path with the name replaced.
Path withName(string newName) const @safeReturns a new Path with the file name replaced.
newName | The new file or directory name. |