Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Abs ¶
Abs returns a best-effort absolute representation of path. The returned path may be relative on platforms such as WebAssembly. If the path is not absolute it will be joined with the current working directory to turn it into an absolute path. See filepath.Abs for more information.
func CallerRel ¶
CallerRel returns a source-file relative path. Used for testing when PWD is not set, such as running tests under wasm/wasip1. This does not work in TinyGo (missing runtime.Caller support).
func Getwd ¶
Getwd returns best-effort path to the current working directory, even on WebAssembly. The path may be absolute, or it may be relative, prefixed with one or more ".." segments.
Types ¶
This section is empty.