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
fun path_substr(s: Str, start: Int, stop: Int) -> StrNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
path_is_absolute
fun path_is_absolute(p: Str) -> BoolNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
path_normalize
fun path_normalize(p: Str) -> StrNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
path_join
fun path_join(a: Str, b: Str) -> StrNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
path_basename
fun path_basename(p: Str) -> StrNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
path_dirname
fun path_dirname(p: Str) -> StrNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
path_extension
fun path_extension(p: Str) -> StrNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
path_stem
fun path_stem(p: Str) -> StrNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source
path_relative
fun path_relative(base_path: Str, target_path: Str) -> StrNo description yet. Read the declaration source for the exact contract.
supported · full runtime · source