MCPcopy Index your code
hub / github.com/ddev/ddev / IsMutagenEnabled

Method IsMutagenEnabled

pkg/ddevapp/mutagen.go:767–769  ·  view source on GitHub ↗

IsMutagenEnabled returns true if Mutagen is enabled locally or globally It's also required and set if NoBindMounts is set, since we have to have a way to get code on there.

()

Source from the content-addressed store, hash-verified

765// It's also required and set if NoBindMounts is set, since we have to have a way
766// to get code on there.
767func (app *DdevApp) IsMutagenEnabled() bool {
768 return app.GetPerformanceMode() == types.PerformanceModeMutagen || globalconfig.DdevGlobalConfig.NoBindMounts
769}
770
771// GetMutagenVolumeLabel returns the com.ddev.volume-signature on the project_mutagen Docker volume
772func GetMutagenVolumeLabel(app *DdevApp) (string, error) {

Callers 15

CheckCustomConfigMethod · 0.95
TestDdevNoProjectMountFunction · 0.95
MutagenSyncFlushMethod · 0.95
RenderComposeYAMLMethod · 0.95
DescribeMethod · 0.95
StartMethod · 0.95
DockerEnvMethod · 0.95
StopMethod · 0.95
TestPretestAndEnvFunction · 0.95

Calls 1

GetPerformanceModeMethod · 0.95

Tested by 11

TestDdevNoProjectMountFunction · 0.76
TestPretestAndEnvFunction · 0.76
TestEnvironmentVariablesFunction · 0.36
TestCmdImportDBFunction · 0.36
TestCmdGlobalConfigFunction · 0.36
TestDeleteCmdFunction · 0.36
TestCmdMutagenFunction · 0.36
TestCreateGlobalDdevDirFunction · 0.36