diff --git a/copy_namedpipes.go b/copy_namedpipes.go index 615ddcd..657fb38 100644 --- a/copy_namedpipes.go +++ b/copy_namedpipes.go @@ -1,5 +1,4 @@ //go:build !windows && !plan9 && !netbsd && !aix && !illumos && !solaris && !js -// +build !windows,!plan9,!netbsd,!aix,!illumos,!solaris,!js package copy diff --git a/copy_namedpipes_x.go b/copy_namedpipes_x.go index 38dd9dc..da3d6f7 100644 --- a/copy_namedpipes_x.go +++ b/copy_namedpipes_x.go @@ -1,5 +1,4 @@ //go:build windows || plan9 || netbsd || aix || illumos || solaris || js -// +build windows plan9 netbsd aix illumos solaris js package copy diff --git a/patherror_test.go b/patherror_test.go index 40c03f6..86a4b06 100644 --- a/patherror_test.go +++ b/patherror_test.go @@ -1,3 +1,5 @@ +//go:build go1.16 + package copy import ( diff --git a/preserve_ltimes.go b/preserve_ltimes.go index cc006d3..6b6787b 100644 --- a/preserve_ltimes.go +++ b/preserve_ltimes.go @@ -1,5 +1,4 @@ //go:build !windows && !plan9 && !js -// +build !windows,!plan9,!js package copy diff --git a/preserve_ltimes_test.go b/preserve_ltimes_test.go index 4289776..7d59bb9 100644 --- a/preserve_ltimes_test.go +++ b/preserve_ltimes_test.go @@ -1,5 +1,4 @@ //go:build !windows && !plan9 && !js -// +build !windows,!plan9,!js package copy diff --git a/preserve_ltimes_x.go b/preserve_ltimes_x.go index 02aec40..5ef234d 100644 --- a/preserve_ltimes_x.go +++ b/preserve_ltimes_x.go @@ -1,5 +1,4 @@ //go:build windows || js || plan9 -// +build windows js plan9 package copy diff --git a/preserve_ltimes_x_test.go b/preserve_ltimes_x_test.go index 1c73b5a..c34a2ec 100644 --- a/preserve_ltimes_x_test.go +++ b/preserve_ltimes_x_test.go @@ -1,5 +1,4 @@ //go:build windows || js || plan9 -// +build windows js plan9 package copy diff --git a/preserve_owner.go b/preserve_owner.go index ca71132..bd12964 100644 --- a/preserve_owner.go +++ b/preserve_owner.go @@ -1,5 +1,4 @@ //go:build !windows && !plan9 -// +build !windows,!plan9 package copy diff --git a/preserve_owner_x.go b/preserve_owner_x.go index d6a6148..1e8f125 100644 --- a/preserve_owner_x.go +++ b/preserve_owner_x.go @@ -1,5 +1,4 @@ //go:build windows || plan9 -// +build windows plan9 package copy diff --git a/stat_times.go b/stat_times.go index 75f45f6..49ea67c 100644 --- a/stat_times.go +++ b/stat_times.go @@ -1,5 +1,4 @@ //go:build !windows && !darwin && !freebsd && !plan9 && !netbsd && !js -// +build !windows,!darwin,!freebsd,!plan9,!netbsd,!js // TODO: add more runtimes diff --git a/stat_times_darwin.go b/stat_times_darwin.go index d4c23d8..935ce1d 100644 --- a/stat_times_darwin.go +++ b/stat_times_darwin.go @@ -1,5 +1,4 @@ //go:build darwin -// +build darwin package copy diff --git a/stat_times_freebsd.go b/stat_times_freebsd.go index 5309334..1deb1cc 100644 --- a/stat_times_freebsd.go +++ b/stat_times_freebsd.go @@ -1,5 +1,4 @@ //go:build freebsd -// +build freebsd package copy diff --git a/stat_times_js.go b/stat_times_js.go index c645771..a4b1e28 100644 --- a/stat_times_js.go +++ b/stat_times_js.go @@ -1,5 +1,4 @@ //go:build js -// +build js package copy diff --git a/stat_times_windows.go b/stat_times_windows.go index d6a84a7..babfe7d 100644 --- a/stat_times_windows.go +++ b/stat_times_windows.go @@ -1,5 +1,4 @@ //go:build windows -// +build windows package copy diff --git a/stat_times_x.go b/stat_times_x.go index 886ddd3..53da32e 100644 --- a/stat_times_x.go +++ b/stat_times_x.go @@ -1,5 +1,4 @@ //go:build plan9 || netbsd -// +build plan9 netbsd package copy diff --git a/symlink_test.go b/symlink_test.go index 9f464cd..8cad9bc 100644 --- a/symlink_test.go +++ b/symlink_test.go @@ -1,5 +1,4 @@ //go:build !windows && !plan9 && !netbsd && !aix && !illumos && !solaris && !js -// +build !windows,!plan9,!netbsd,!aix,!illumos,!solaris,!js package copy diff --git a/symlink_test_x.go b/symlink_test_x.go index 523f7f0..1f6bb1f 100644 --- a/symlink_test_x.go +++ b/symlink_test_x.go @@ -1,5 +1,4 @@ //go:build windows || plan9 || netbsd || aix || illumos || solaris || js -// +build windows plan9 netbsd aix illumos solaris js package copy diff --git a/test/images/alpine.Dockerfile b/test/images/alpine.Dockerfile index 854bd82..889b2ff 100644 --- a/test/images/alpine.Dockerfile +++ b/test/images/alpine.Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.14 +FROM alpine:3.16 WORKDIR /app diff --git a/test_setup_test.go b/test_setup_test.go index de18dc4..e9059ba 100644 --- a/test_setup_test.go +++ b/test_setup_test.go @@ -1,5 +1,4 @@ //go:build !windows && !plan9 && !netbsd && !aix && !illumos && !solaris && !js -// +build !windows,!plan9,!netbsd,!aix,!illumos,!solaris,!js package copy diff --git a/test_setup_x_test.go b/test_setup_x_test.go index 4c35b14..97ff6af 100644 --- a/test_setup_x_test.go +++ b/test_setup_x_test.go @@ -1,5 +1,4 @@ //go:build windows || plan9 || netbsd || aix || illumos || solaris || js -// +build windows plan9 netbsd aix illumos solaris js package copy