Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete obsolete // +build lines #137

Merged
merged 1 commit into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion copy_namedpipes.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !plan9 && !netbsd && !aix && !illumos && !solaris && !js
// +build !windows,!plan9,!netbsd,!aix,!illumos,!solaris,!js

package copy

Expand Down
1 change: 0 additions & 1 deletion copy_namedpipes_x.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows || plan9 || netbsd || aix || illumos || solaris || js
// +build windows plan9 netbsd aix illumos solaris js

package copy

Expand Down
2 changes: 2 additions & 0 deletions patherror_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build go1.16

package copy

import (
Expand Down
1 change: 0 additions & 1 deletion preserve_ltimes.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !plan9 && !js
// +build !windows,!plan9,!js

package copy

Expand Down
1 change: 0 additions & 1 deletion preserve_ltimes_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !plan9 && !js
// +build !windows,!plan9,!js

package copy

Expand Down
1 change: 0 additions & 1 deletion preserve_ltimes_x.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows || js || plan9
// +build windows js plan9

package copy

Expand Down
1 change: 0 additions & 1 deletion preserve_ltimes_x_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows || js || plan9
// +build windows js plan9

package copy

Expand Down
1 change: 0 additions & 1 deletion preserve_owner.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !plan9
// +build !windows,!plan9

package copy

Expand Down
1 change: 0 additions & 1 deletion preserve_owner_x.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows || plan9
// +build windows plan9

package copy

Expand Down
1 change: 0 additions & 1 deletion stat_times.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !darwin && !freebsd && !plan9 && !netbsd && !js
// +build !windows,!darwin,!freebsd,!plan9,!netbsd,!js

// TODO: add more runtimes

Expand Down
1 change: 0 additions & 1 deletion stat_times_darwin.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build darwin
// +build darwin

package copy

Expand Down
1 change: 0 additions & 1 deletion stat_times_freebsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build freebsd
// +build freebsd

package copy

Expand Down
1 change: 0 additions & 1 deletion stat_times_js.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build js
// +build js

package copy

Expand Down
1 change: 0 additions & 1 deletion stat_times_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package copy

Expand Down
1 change: 0 additions & 1 deletion stat_times_x.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build plan9 || netbsd
// +build plan9 netbsd

package copy

Expand Down
1 change: 0 additions & 1 deletion symlink_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !plan9 && !netbsd && !aix && !illumos && !solaris && !js
// +build !windows,!plan9,!netbsd,!aix,!illumos,!solaris,!js

package copy

Expand Down
1 change: 0 additions & 1 deletion symlink_test_x.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows || plan9 || netbsd || aix || illumos || solaris || js
// +build windows plan9 netbsd aix illumos solaris js

package copy

Expand Down
2 changes: 1 addition & 1 deletion test/images/alpine.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.14
FROM alpine:3.16

WORKDIR /app

Expand Down
1 change: 0 additions & 1 deletion test_setup_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !plan9 && !netbsd && !aix && !illumos && !solaris && !js
// +build !windows,!plan9,!netbsd,!aix,!illumos,!solaris,!js

package copy

Expand Down
1 change: 0 additions & 1 deletion test_setup_x_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows || plan9 || netbsd || aix || illumos || solaris || js
// +build windows plan9 netbsd aix illumos solaris js

package copy

Expand Down
Loading