Merge pull request #2852 from MichaelEischer/drop-go-1.11

Drop support for Go version 1.11
This commit is contained in:
rawtaz
2020-07-25 01:17:36 +02:00
committed by GitHub
8 changed files with 14 additions and 71 deletions

View File

@@ -1,4 +1,4 @@
// +build freebsd,go1.12
// +build freebsd
package restic

View File

@@ -1,17 +0,0 @@
// +build freebsd,!go1.12
package restic
import "syscall"
func (node Node) restoreSymlinkTimestamps(path string, utimes [2]syscall.Timespec) error {
return nil
}
func (node Node) device() int {
return int(node.Device)
}
func (s statUnix) atim() syscall.Timespec { return s.Atimespec }
func (s statUnix) mtim() syscall.Timespec { return s.Mtimespec }
func (s statUnix) ctim() syscall.Timespec { return s.Ctimespec }