Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Action ¶
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) ClearCache ¶
func (s *Sandbox) ClearCache()
func (*Sandbox) Files ¶
Files creates files within the sandbox directory.
s.Files( "file1.txt", "content of file1.txt", "dir1/file2.md", "content of file2.md", )
func (*Sandbox) NewContext ¶
NewContext creates a new context enriched with sandbox specifics.
Click to show internal directories.
Click to hide internal directories.