(scope string)
| 258 | } |
| 259 | |
| 260 | func scopeOrDefault(scope string) editorconfig.Scope { |
| 261 | if scope == "project" { |
| 262 | return editorconfig.ProjectScope |
| 263 | } |
| 264 | return editorconfig.UserScope |
| 265 | } |
| 266 | |
| 267 | func splitKeyValue(args []string) (string, string, bool) { |
| 268 | switch len(args) { |
no outgoing calls
no test coverage detected