Skip to content

Latest commit

 

History

History
137 lines (84 loc) · 3.02 KB

File-std-path-ml-701536411.md

File metadata and controls

137 lines (84 loc) · 3.02 KB

std/path.ml

Home · Files

Provides the std path package.

Package: std.path

Reachable from entry: no

Imports

Declarations

changeExtension

function changeExtension(path, newExtension)

Provide the change extension operation for this standard-library module.

Parameter Type Default Description
path dynamic — Path to operate on.
newExtension dynamic — Value supplied for newExtension.

Source: std/path.ml:136

directoryName

function directoryName(path)

Provide the directory name operation for this standard-library module.

Parameter Type Default Description
path dynamic — Path to operate on.

Source: std/path.ml:114

extension

function extension(path)

Provide the extension operation for this standard-library module.

Parameter Type Default Description
path dynamic — Path to operate on.

Source: std/path.ml:125

fileName

function fileName(path)

Provide the file name operation for this standard-library module.

Parameter Type Default Description
path dynamic — Path to operate on.

Source: std/path.ml:103

isAbsolute

function isAbsolute(path)

Reports whether is absolute.

Parameter Type Default Description
path dynamic — Path to operate on.

Source: std/path.ml:73

join

function join(left, right)

Provide the join operation for this standard-library module.

Parameter Type Default Description
left dynamic — Left input value.
right dynamic — Right input value.

Source: std/path.ml:89

PATH_ERR

const PATH_ERR = 260

Track the path err value used by this standard-library module.

Source: std/path.ml:16

separator

function separator()

Provide the separator operation for this standard-library module.

Source: std/path.ml:25