Remove Windows support

Unfortunately, I don't have the expertise or bandwidth to maintain
the Windows support in Litestream. I'm open to re-adding support in
the future but right now it is hindering development and is not
well-tested or well-used.
This commit is contained in:
Ben Johnson
2022-02-05 08:11:21 -07:00
parent 4349398ff5
commit 8009bcf654
7 changed files with 13 additions and 183 deletions

View File

@@ -1,21 +0,0 @@
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package internal
import (
"os"
"syscall"
)
// Fileinfo returns syscall fields from a FileInfo object.
func Fileinfo(fi os.FileInfo) (uid, gid int) {
if fi == nil {
return -1, -1
}
stat := fi.Sys().(*syscall.Stat_t)
return int(stat.Uid), int(stat.Gid)
}
func fixRootDirectory(p string) string {
return p
}