diff options
author | Mateusz Byczkowski <mbyczkowski@gmail.com> | 2017-02-02 10:51:24 -0800 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-02-02 19:51:24 +0100 |
commit | a3344f15a67a67ed65f228db49e74fd390852e77 (patch) | |
tree | a7c4e696164f7d0976efe65fa6a333927eb7217a /plumbing/format/packfile/encoder.go | |
parent | fa35e5c2372f8a103aa0ab8baa13116a25abd03a (diff) | |
download | go-git-a3344f15a67a67ed65f228db49e74fd390852e77.tar.gz |
Fix compile-time error on Windows (#251)
syscall.Stat_t it not defined on Windows platform, and hence go-git
won't compile on Windows. It's better to pass more generic output of FileInfo `Sys()`
(of type interface{}) to `fillSystemInfo` and handle type assertion
separately for each platform.
Diffstat (limited to 'plumbing/format/packfile/encoder.go')
0 files changed, 0 insertions, 0 deletions