Skip to main content
Log in

Mojo trait

PathLike

A trait representing file system paths.

Implemented traits

AnyType

Methods

__fspath__

__fspath__(self: T) -> String

Return the file system path representation of the object.

Returns:

The file system path representation as a string.

Was this page helpful?