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

Function LoadHostConfigs

internal/sshconfig/sshconfig.go:87–89  ·  view source on GitHub ↗

LoadHostConfigs loads all hosts with complete configuration This is a wrapper around LoadAllHostConfigs from writer.go

()

Source from the content-addressed store, hash-verified

85// LoadHostConfigs loads all hosts with complete configuration
86// This is a wrapper around LoadAllHostConfigs from writer.go
87func LoadHostConfigs() (map[string]*HostConfig, error) {
88 return LoadAllHostConfigs()
89}
90
91func parseKV(line string) (string, string) {
92 // support "Key Value" and "Key=Value", case-insensitive key

Callers

nothing calls this directly

Calls 1

LoadAllHostConfigsFunction · 0.85

Tested by

no test coverage detected