@ 260812.1

250902.1 · c9ad02f5df20cc7b77a037a835015334a0a5eefc

internal/dirent: use binary.NativeEndian for parsing ints (#63)

* internal/dirent: use binary.NativeEndian for parsing ints

This change removes the platform specific integer parsing logic from internal/dirent and replaces it with binary.NativeEndian which is well tested and removes the need for us to maintain platform specific code.

Fixes: #61

* mod: update minimum supported Go version to 1.21

* internal/dirent: improve readInt test coverage

reading declarations

Changes to go.mod. All files

go.mod

@@ -1,5 +1,5 @@ module github.com/charlievieth/fastwalk -go 1.20+go 1.21  retract v1.0.7 // Build broken on Go 1.20