mutapath.MutaPath.with_name

MutaPath.with_name(new_name) → Path[source]

See also

pathlib.PurePath.with_name()