There are a few different threads on here that outline how to do this using syscall, but it has since been deprecated. I'm looking for a solution that uses golang.org/x/sys/windows
Asked
Active
Viewed 46 times
0
-
2as in https://stackoverflow.com/a/60724929/6309 ? – VonC Jul 08 '20 at 04:26
-
seems like this [https://github.com/ricochet2200/go-disk-usage] (old and maintained) lib implements the above in go. – yosher lutski Jul 08 '20 at 17:43