Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Action ¶ added in v0.32.2
Action executes a a command with the action return by given function as PositionalAny.
Types ¶
type Sandbox ¶
type Sandbox struct {
// contains filtered or unexported fields
}
func (*Sandbox) Files ¶
Files creates files within the sandbox directory.
s.Files( "file1.txt", "content of files1.txt", "dir1/file2.md", "content of file2.md", )
func (*Sandbox) NewContext ¶ added in v0.32.2
NewContext creates a new context enriched with sandbox specifics.
Click to show internal directories.
Click to hide internal directories.