MCPcopy Create free account
hub / github.com/Mister-leo/fssh / IsValidGlobalOption

Function IsValidGlobalOption

internal/sshconfig/hostconfig.go:331–334  ·  view source on GitHub ↗

IsValidGlobalOption checks if a key is a supported global option

(key string)

Source from the content-addressed store, hash-verified

329
330// IsValidGlobalOption checks if a key is a supported global option
331func IsValidGlobalOption(key string) bool {
332 _, ok := GlobalConfigOptions[key]
333 return ok
334}
335
336// GetGlobalOptionNames returns all supported global option names sorted alphabetically
337func GetGlobalOptionNames() []string {

Callers 1

SetGlobalOptionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected