You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Validate: refactor internal methods to use fs.FS interface for file handling (#413)
* Refactor `validateStaticDocs()` and `validateLegacyWebsite()` to use a `fs.FS` interface for walking.
* Refactor `validate_test.go` to use `fstest.MapFS`
* Refactor `directory_test.go` to use `fstest.MapFS`
* Add tests for file mismatch check
* Fix `unparam` lints
* Add changelog entries
* Use `filepath.Join` instead of `website/docs` for windows compatability.
* Revert "Use `filepath.Join` instead of `website/docs` for windows compatability."
This reverts commit 9c92c3e.
* Remove `filepath.Join()` usages and `/` separator conversions.
* Remove `filepath.fromSlash()` usages
* Use `path.Dir()` instead of `filepath.Dir()`
* Use `doublestar.Match()` instead of `doublestar.PathMatch()`
* Convert path slashes to os separators in error messages
* Convert path slashes to os separators in invalid directory check error messages
0 commit comments