mutapath.MutaPath.with_string_repr_enabled

MutaPath.with_string_repr_enabled(enable: bool = True)Path[source]

Clone this path in with string representation enabled.

Example

>>> Path("/home/doe/folder/sub").with_string_repr_enabled()
'/home/joe/doe/folder/sub'