in internal/validations.go
we have syscall.Statfs and Statfs_t which are os specific methods and does not work in windows
so what i have does add a pkf "github.com/shirou/gopsutil/disk"
which is used to calculate the available disk and it is os independent and maintained regularly
Related Issue(s)
Fixes # 437
How to test
clone repo on a windows machine and you will straight away see that
Description
in internal/validations.go we have syscall.Statfs and Statfs_t which are os specific methods and does not work in windows so what i have does add a pkf "github.com/shirou/gopsutil/disk" which is used to calculate the available disk and it is os independent and maintained regularly
Related Issue(s)
Fixes # 437
How to test
clone repo on a windows machine and you will straight away see that