| 1 | package editorconfigscip-go gomod github.com/editorconfig/editorconfig-core-go/v2 . `github.com/editorconfig/editorconfig-core-go/v2`/ |
| 2 | |
| 3 | // Parser interface is responsible for the parsing of the ini file and the |
| 4 | // globbing patterns. |
| 5 | type Parserscip-go gomod github.com/editorconfig/editorconfig-core-go/v2 . `github.com/editorconfig/editorconfig-core-go/v2`/Parser# interface { |
| 6 | // ParseIni takes one .editorconfig (ini format) filename and returns its |
| 7 | // Editorconfig definition. |
| 8 | ParseIniscip-go gomod github.com/editorconfig/editorconfig-core-go/v2 . `github.com/editorconfig/editorconfig-core-go/v2`/Parser#ParseIni.(filename string) (*Editorconfigscip-go gomod github.com/editorconfig/editorconfig-core-go/v2 . `github.com/editorconfig/editorconfig-core-go/v2`/Editorconfig#, error) |
| 9 | |
| 10 | // ParseIni takes one .editorconfig (ini format) filename and returns its |
| 11 | // Editorconfig definition. In case of non fatal warnings, they are in |
| 12 | // a joined errors and might be ignored in some cases. |
| 13 | ParseIniGracefulscip-go gomod github.com/editorconfig/editorconfig-core-go/v2 . `github.com/editorconfig/editorconfig-core-go/v2`/Parser#ParseIniGraceful.(filename string) (*Editorconfigscip-go gomod github.com/editorconfig/editorconfig-core-go/v2 . `github.com/editorconfig/editorconfig-core-go/v2`/Editorconfig#, error, error) |
| 14 | |
| 15 | // FnmatchCase takes a pattern, a filename, and tells whether the given filename |
| 16 | // matches the globbing pattern. |
| 17 | FnmatchCasescip-go gomod github.com/editorconfig/editorconfig-core-go/v2 . `github.com/editorconfig/editorconfig-core-go/v2`/Parser#FnmatchCase.(pattern string, filename string) (bool, error) |
| 18 | } |