MCPcopy Index your code
hub / github.com/smallstep/cli / apply

Method apply

internal/sshutil/shell.go:146–153  ·  view source on GitHub ↗
(opts []ShellOption)

Source from the content-addressed store, hash-verified

144}
145
146func (s *Shell) apply(opts []ShellOption) error {
147 for _, fn := range opts {
148 if err := fn(s); err != nil {
149 return err
150 }
151 }
152 return nil
153}
154
155// Close finalizes the connection.
156func (s *Shell) Close() error {

Callers 1

NewShellFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected