Validate validates the extension configuration is well-formed.
()
| 494 | |
| 495 | // Validate validates the extension configuration is well-formed. |
| 496 | func (e *Extension) Validate() error { |
| 497 | _, err := e.VersionNumber() |
| 498 | return err |
| 499 | } |
| 500 | |
| 501 | // VersionNumber returns the parsed version string, or an error if the version cannot be parsed. |
| 502 | func (e *Extension) VersionNumber() (uint32, error) { |
nothing calls this directly
no test coverage detected