package
6.0.0+incompatible
Repository: https://github.com/srcup/u-root.git
Documentation: pkg.go.dev

# Functions

NewEnvCompleter creates a MultiCompleter consisting of one or more FileCompleters.
NewFileCompleter returns a FileCompleter for a single directory.
NewLine returns an empty Line struct.
NewLineReader returns a LineReader.
NewMultiCompleter returns a MultiCompleter created from one or more Completers.
NewPathCompleter calls NewEnvCompleter with "PATH" as the variable name.
NewStringCompleter returns a StringCompleter from the []string.

# Variables

Debug is a package level variable which can be set to, e.g., log.Printf if you want lots of debug.
Debug is a package level variable which can be set to, e.g., log.Printf if you want lots of debug.
Debug is a package level variable which can be set to, e.g., log.Printf if you want lots of debug.

# Structs

FileCompleter is used to implement a Completer for a single directory in a file system.
Line is used to implement an InOut based on an array of strings.
LineReader has three things and returns one string.
MultiCompleter is a Completer consisting of one or more Completers Why do this? We need it for paths, anyway, but consider a shell which has builtins and metacharacters such as >, &, etc.
A StringCompleter performs completions against an array of strings.

# Interfaces

Completer is an interface for completion functions.
InOut is a stack-like interface used for IO.