Skip to main content
Log in

Mojo trait

PathLike

A trait representing file system paths.

Implemented traits

AnyType, UnknownDestructibility

Methods

__fspath__

__fspath__(self: _Self) -> String

Return the file system path representation of the object.

Returns:

The file system path representation as a string.