()
| 95 | } |
| 96 | |
| 97 | func (proto ModuleSourceKind) HumanString() string { |
| 98 | switch proto { |
| 99 | case ModuleSourceKindLocal: |
| 100 | return "local" |
| 101 | case ModuleSourceKindGit: |
| 102 | return "git" |
| 103 | case ModuleSourceKindDir: |
| 104 | return "directory" |
| 105 | default: |
| 106 | return string(proto) |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | type SDKConfig struct { |
| 111 | Source string `field:"true" name:"source" doc:"Source of the SDK. Either a name of a builtin SDK or a module source ref string pointing to the SDK's implementation."` |
no outgoing calls
no test coverage detected