MCPcopy Create free account
hub / github.com/belak/gitdir / CtxSetConfig

Function CtxSetConfig

context.go:34–36  ·  view source on GitHub ↗

CtxSetConfig puts the given Config into the ssh.Context.

(parent ssh.Context, config *Config)

Source from the content-addressed store, hash-verified

32
33// CtxSetConfig puts the given Config into the ssh.Context.
34func CtxSetConfig(parent ssh.Context, config *Config) {
35 parent.SetValue(contextKeyConfig, config)
36}
37
38// CtxConfig pulls the current Config out of the context, or a blank Config if
39// not set.

Callers 1

handlePublicKeyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected