Documentation
¶
Overview ¶
Package shelltest provides utilities for mocking the login shell.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Shell ¶
type Shell struct {
Context *context.Context
SupportedPrograms map[string]bool
Commands []Command
// contains filtered or unexported fields
}
Shell is a type that conforms to shell.Shell.
func (*Shell) CurrentDirectory ¶
CurrentDirectory returns the current directory.
Click to show internal directories.
Click to hide internal directories.