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

Function NewGlobalConfig

internal/sshconfig/hostconfig.go:356–361  ·  view source on GitHub ↗

NewGlobalConfig creates a new HostConfig for global configuration (Host *)

()

Source from the content-addressed store, hash-verified

354
355// NewGlobalConfig creates a new HostConfig for global configuration (Host *)
356func NewGlobalConfig() *HostConfig {
357 return &HostConfig{
358 Name: "*",
359 IsGlobal: true,
360 }
361}

Callers 2

cmdGlobalEditFunction · 0.92
SetGlobalOptionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected