MCPcopy Create free account
hub / github.com/Effect-TS/tsgo / String

Method String

internal/typeparser/discover.go:28–37  ·  view source on GitHub ↗

String returns the string representation of the Effect major version.

()

Source from the content-addressed store, hash-verified

26
27// String returns the string representation of the Effect major version.
28func (v EffectMajorVersion) String() string {
29 switch v {
30 case EffectMajorV3:
31 return "v3"
32 case EffectMajorV4:
33 return "v4"
34 default:
35 return "unknown"
36 }
37}
38
39// DetectEffectVersion detects the major version of the Effect library from the program's
40// source files. Returns EffectMajorUnknown if no Effect dependency is found or if

Callers 15

writeDocumentSymbolTreeFunction · 0.45
RunEffectQuickFixTestFunction · 0.45
generateRefactorBaselineFunction · 0.45
RunEffectRefactorTestFunction · 0.45
parseTestUnitsFunction · 0.45
generateQuickFixBaselineFunction · 0.45
generateErrorBaselineFunction · 0.45
appendRelatedDiagnosticsFunction · 0.45

Calls

no outgoing calls

Tested by 7

evaluatePreviewFunction · 0.36
parsePreviewUnitsFunction · 0.36
replaceReadmeSectionFunction · 0.36