Documentation
¶
Overview ¶
Package path provides functions for manipulating filesystem path names.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Ns = eval.BuildNsNamed("path"). AddVars(map[string]vars.Var{ "dev-null": vars.NewReadOnly(os.DevNull), "dev-tty": vars.NewReadOnly(osmod.DevTTY), "list-separator": vars.NewReadOnly(string(filepath.ListSeparator)), "separator": vars.NewReadOnly(string(filepath.Separator)), }). AddGoFns(map[string]any{ "abs": filepath.Abs, "base": filepath.Base, "clean": filepath.Clean, "dir": filepath.Dir, "ext": filepath.Ext, "is-abs": filepath.IsAbs, "join": filepath.Join, "eval-symlinks": filepath.EvalSymlinks, "is-dir": osmod.IsDir, "is-regular": osmod.IsRegular, "temp-dir": osmod.TempDir, "temp-file": osmod.TempFile, }).Ns()
Ns is the namespace for the path: module.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.