MCPcopy Create free account
hub / github.com/exercism/cli / String

Method String

workspace/exercise.go:90–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88)
89
90func (m MigrationStatus) String() string {
91 switch m {
92 case MigrationStatusMigrated:
93 return "\nMigrated metadata\n"
94 case MigrationStatusRemoved:
95 return "\nRemoved legacy metadata\n"
96 default:
97 return ""
98 }
99}
100
101// MigrateLegacyMetadataFile migrates a legacy metadata file to the modern location.
102// This is a noop if the metadata file isn't legacy.

Callers 10

TestVerboseEnabledFunction · 0.45
TestVerboseDisabledFunction · 0.45
TestDumpRequestFunction · 0.45
TestDumpResponseFunction · 0.45
migrateLegacyMetadataMethod · 0.45
compileMethod · 0.45
commandifyFunction · 0.45
urlMethod · 0.45

Calls

no outgoing calls

Tested by 6

TestVerboseEnabledFunction · 0.36
TestVerboseDisabledFunction · 0.36
TestDumpRequestFunction · 0.36
TestDumpResponseFunction · 0.36