path module

Maylang standard-library module.

import "path" as path;

Module note — Operations are lexical; they do not resolve symlinks or access the filesystem. path_relative requires matching roots and returns . for identical paths.

Functions

path_substr

may
fun path_substr(s: Str, start: Int, stop: Int) -> Str

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

path_is_absolute

may
fun path_is_absolute(p: Str) -> Bool

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

path_normalize

may
fun path_normalize(p: Str) -> Str

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

path_join

may
fun path_join(a: Str, b: Str) -> Str

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

path_basename

may
fun path_basename(p: Str) -> Str

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

path_dirname

may
fun path_dirname(p: Str) -> Str

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

path_extension

may
fun path_extension(p: Str) -> Str

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

path_stem

may
fun path_stem(p: Str) -> Str

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source

path_relative

may
fun path_relative(base_path: Str, target_path: Str) -> Str

No description yet. Read the declaration source for the exact contract.

supported · full runtime · source