Documentation
¶
Overview ¶
Package rootlibrary provides the confined source loader shared by the CLI execution commands and the REPL.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RelativePath ¶
RelativePath strips an absolute root prefix without cleaning the unresolved request. Relative requests are passed through for os.Root to check at open time.
Types ¶
type Library ¶
type Library struct {
// contains filtered or unexported fields
}
Library reads sources through an open directory handle. Close it after all evaluations using the library have finished.
func (*Library) LoadSource ¶
LoadSource anchors initial loads at the root and nested loads at the calling source's directory. The root handle enforces confinement at read time.
Click to show internal directories.
Click to hide internal directories.