google / fswalker

Simple file system integrity checking tooling.
https://google.github.io/fswalker/
Apache License 2.0
102 stars 12 forks source link

Windows build #6

Open d-led opened 5 years ago

d-led commented 5 years ago

👋

this looks like a great tool! Surely, it's probably mostly used on Linux, but is there a reason (apart being not in focus) that it doesn't build on Windows? Walking across the devices and the comparison of the platform-dependent fields might need another implementation. Is this desirable, or are there insurmountable hurdles?

%GOPATH%\src\github.com\google\fswalker (master -> origin)
λ go build
# github.com/google/fswalker
.\walker.go:129:30: undefined: syscall.Stat_t
.\walker.go:251:36: undefined: syscall.Stat_t

%GOPATH%\src\github.com\google\fswalker (master -> origin)
λ go version
go version go1.12.5 windows/amd64
x1ddos commented 5 years ago

We've actually never tried this on Windows. The error posted here should be relatively easy to fix.

Maybe we could hook this up with appveyor or something to run regular Windows builds as well.

Sacchid commented 4 years ago

Any updates regarding windows version?

x1ddos commented 4 years ago

Sorry, I won't have time to work on this in the near future. Releasing for someone else to pick up.