MCPcopy Index your code
hub / github.com/PatchMon/PatchMon / SetConfigFile

Method SetConfigFile

agent-source-code/internal/config/config.go:96–98  ·  view source on GitHub ↗

SetConfigFile sets the path to the config file (called from CLI flag)

(path string)

Source from the content-addressed store, hash-verified

94
95// SetConfigFile sets the path to the config file (called from CLI flag)
96func (m *Manager) SetConfigFile(path string) {
97 m.configFile = path
98}
99
100// GetConfigFile returns the path to the config file
101func (m *Manager) GetConfigFile() string {

Callers 3

LoadConfigMethod · 0.80
LoadCredentialsMethod · 0.80
initialiseAgentFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected