Skip to main content

Mojo trait

PathLike

A trait representing file system paths.

Implemented traitsโ€‹

AnyType

Required methodsโ€‹

__fspath__โ€‹

__fspath__(self: _Self) -> String

Return the file system path representation of the object.

Returns:

String: The file system path representation as a string.

Was this page helpful?