MCPcopy Create free account
hub / github.com/ddev/ddev / GetMutagenConfigFilePath

Function GetMutagenConfigFilePath

pkg/ddevapp/mutagen.go:136–138  ·  view source on GitHub ↗

GetMutagenConfigFilePath returns the canonical location where the mutagen.yml lives

(app *DdevApp)

Source from the content-addressed store, hash-verified

134
135// GetMutagenConfigFilePath returns the canonical location where the mutagen.yml lives
136func GetMutagenConfigFilePath(app *DdevApp) string {
137 return filepath.Join(app.GetConfigPath("mutagen"), "mutagen.yml")
138}
139
140// GetMutagenConfigFileHash returns the SHA1 hash of the mutagen.yml
141func GetMutagenConfigFileHash(app *DdevApp) (string, error) {

Callers 7

TestMutagenSimpleFunction · 0.92
GetMutagenConfigFileHashFunction · 0.85
GetMutagenConfigFileFunction · 0.85
GenerateMutagenYmlMethod · 0.85
CheckLargeFilesInSyncFunction · 0.85

Calls 1

GetConfigPathMethod · 0.80

Tested by 1

TestMutagenSimpleFunction · 0.74