Skip to main content

Mojo trait

PathLike

A trait representing file system paths.

Implemented traits

AnyType

Methods

__fspath__

__fspath__(self: _Self) -> String

Return the file system path representation of the object.

Returns:

The file system path representation as a string.