Drop support for Go version 1.11

This commit is contained in:
Michael Eischer
2020-07-22 23:35:10 +02:00
parent 82c908871d
commit 7c23381a2b
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 }