# Functions
CreateFile is a convenience method for creating a file inside a sandbox with the given content.
No description provided by the author
ExtractFile is a convenience method for getting the content of a file from inside the sandbox.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RunBinary is a convenience method for running a binary (which needs no special configuration) inside the given Sandbox.
SplitArgs is used to split a program's arguments for Sandbox.Run It just calls strings.Split, but it's useful for context.
# Constants
No description provided by the author
No description provided by the author
DummyPattern is the pattern in which Dummy creates its temporary directory.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
ErrorSandboxNotInitialized should returned when a Run is called on a Sandbox without a prior Init call.
IsolateMetafilePattern is the pattern in which metafiles are created.
IsolateRoot is the root directory structure isolate is using.
# Structs
No description provided by the author
DirectoryMap is used to map a directory from outside to the inside of a Sandbox.
Dummy is a very straightforward implementation of a Sandbox.
File is a named io.Reader which emulates a file.
Isolate is a Sandbox implementation which calls isolate's command line program.
OsFS implements an FS with and underlying base path.
RunConfig is used to configure the sandbox, setting limits and streams (stdin, stdout, stderr).
Status contains information about how a program ran.
# Type aliases
DirectoryMapOption is an option for a DirectoryMap.
No description provided by the author
No description provided by the author
Verdict is the overall outcome of running a program.