Documentation
¶
Overview ¶
Package scriptpath reads a Code Mode script from a file relative to a project folder (script_path), with the same confinement for every caller: the watch code step, wick_run_code and the run_code workflow node.
Index ¶
Constants ¶
View Source
const MaxBytes = 256 << 10
MaxBytes caps a script_path file.
Variables ¶
View Source
var ErrDenied = errors.New("script_path denied")
ErrDenied marks a script_path refused for where it leads (absolute, .., or a real path outside the folder). It cannot heal by itself, unlike a missing file; errors.Is reports it.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.