Path API

path_SEP

Platform-specific pathname components separator. \ on Windows, / on POSIX.

const path_SEP: str

path_basename()

Retrieves last portion of pathname.

fn path_basename (path: str) str

Parameters

path - Pathname to retrieve last portion from.

path_dirname()

Retrieves directory name of pathname.

fn path_dirname (path: str) str

Parameters

path - Pathname to retrieve directory name from.

path_tempDirectory()

Returns temporary directory for the current user.

fn path_tempDirectory () str

path_tempFile()

Returns temporary file for the current user.

fn path_tempFile () str