PathLike | Modular

Mojo trait

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?

Thank you! We'll create more content like this.

Thank you for helping us improve!

๐Ÿ˜” What went wrong?