ozansz / gls

Minimal file manager with terminal UI #Go

Home Page:https://sazak.io/gls-file-manager-on-terminal-with-go/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add windows support and separate some OS package dependent methods

denizzengin opened this issue · comments

commented

Is your feature request related to a problem? Please describe.
Windows syscall package does not have Stat_t so couldn't compile and use in windows.

Describe the solution you'd like
Implement neccessary GetSize and GetSizeOnDisk method for windows specific.At the same time doesn't any side effect other OS.

Describe alternatives you've considered
Maybe we call source windows dll some modifications. There are some examples about it in stackoverflow.

Additional context
resim