Skip to content

Commit 433b975

Browse files
committedOct 26, 2024··
go-fix: remove pre-go1.17 build-tags
Result of; go fix -mod=readonly ./... cd cmd/continuity go fix -mod=readonly ./... Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 45e78a9 commit 433b975

39 files changed

+0
-39
lines changed
 

‎cmd/continuity/commands/mount.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build linux || freebsd
2-
// +build linux freebsd
32

43
/*
54
Copyright The containerd Authors.

‎cmd/continuity/commands/mount_unsupported.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build windows || solaris || openbsd || netbsd || dragonfly || darwin
2-
// +build windows solaris openbsd netbsd dragonfly darwin
32

43
/*
54
Copyright The containerd Authors.

‎cmd/continuity/continuityfs/fuse.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build linux || freebsd
2-
// +build linux freebsd
32

43
/*
54
Copyright The containerd Authors.

‎devices/devices_unix.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows
2-
// +build !windows
32

43
/*
54
Copyright The containerd Authors.

‎devices/mknod_freebsd.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build freebsd || dragonfly
2-
// +build freebsd dragonfly
32

43
/*
54
Copyright The containerd Authors.

‎devices/mknod_unix.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !(freebsd || windows)
2-
// +build !freebsd,!windows
32

43
/*
54
Copyright The containerd Authors.

‎driver/driver_unix.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows
2-
// +build !windows
32

43
/*
54
Copyright The containerd Authors.

‎driver/driver_windows.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build go1.13
2-
// +build go1.13
32

43
/*
54
Copyright The containerd Authors.

‎driver/lchmod_unix.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build darwin || freebsd || netbsd || openbsd || dragonfly || solaris
2-
// +build darwin freebsd netbsd openbsd dragonfly solaris
32

43
/*
54
Copyright The containerd Authors.

‎fs/copy_irregular_unix.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows && !freebsd
2-
// +build !windows,!freebsd
32

43
/*
54
Copyright The containerd Authors.

‎fs/copy_linux_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build linux
2-
// +build linux
32

43
/*
54
Copyright The containerd Authors.

‎fs/copy_nondarwin.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !darwin
2-
// +build !darwin
32

43
/*
54
Copyright The containerd Authors.

‎fs/copy_unix.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build darwin || freebsd || openbsd || netbsd || dragonfly || solaris
2-
// +build darwin freebsd openbsd netbsd dragonfly solaris
32

43
/*
54
Copyright The containerd Authors.

‎fs/copy_unix_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build linux || darwin
2-
// +build linux darwin
32

43
/*
54
Copyright The containerd Authors.

‎fs/diff_nonlinux.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !linux
2-
// +build !linux
32

43
/*
54
Copyright The containerd Authors.

‎fs/diff_unix.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows
2-
// +build !windows
32

43
/*
54
Copyright The containerd Authors.

‎fs/dtype_linux.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build linux
2-
// +build linux
32

43
/*
54
Copyright The containerd Authors.

‎fs/dtype_linux_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build linux
2-
// +build linux
32

43
/*
54
Copyright The containerd Authors.

‎fs/du_cmd_freebsddarwin_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build freebsd || dragonfly || darwin
2-
// +build freebsd dragonfly darwin
32

43
/*
54
Copyright The containerd Authors.

‎fs/du_cmd_unix_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows && !freebsd && !darwin && !dragonfly
2-
// +build !windows,!freebsd,!darwin,!dragonfly
32

43
/*
54
Copyright The containerd Authors.

‎fs/du_unix.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows
2-
// +build !windows
32

43
/*
54
Copyright The containerd Authors.

‎fs/du_unix_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows
2-
// +build !windows
32

43
/*
54
Copyright The containerd Authors.

‎fs/du_windows.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build windows
2-
// +build windows
32

43
/*
54
Copyright The containerd Authors.

‎fs/fstest/compare_unix.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows
2-
// +build !windows
32

43
/*
54
Copyright The containerd Authors.

‎fs/fstest/file_unix.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows
2-
// +build !windows
32

43
/*
54
Copyright The containerd Authors.

‎fs/hardlink_unix.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows
2-
// +build !windows
32

43
/*
54
Copyright The containerd Authors.

‎fs/path_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows
2-
// +build !windows
32

43
/*
54
Copyright The containerd Authors.

‎fs/stat_darwinbsd.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build darwin || freebsd || netbsd
2-
// +build darwin freebsd netbsd
32

43
/*
54
Copyright The containerd Authors.

‎fs/stat_unix.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build linux || openbsd || dragonfly || solaris
2-
// +build linux openbsd dragonfly solaris
32

43
/*
54
Copyright The containerd Authors.

‎fs/utimesnanoat.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !(windows || linux)
2-
// +build !windows,!linux
32

43
/*
54
Copyright The containerd Authors.

‎hardlinks_unix.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows
2-
// +build !windows
32

43
/*
54
Copyright The containerd Authors.

‎manifest_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows
2-
// +build !windows
32

43
/*
54
Copyright The containerd Authors.

‎manifest_test_darwin.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build ignore
2-
// +build ignore
32

43
/*
54
Copyright The containerd Authors.

‎resource_unix.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows
2-
// +build !windows
32

43
/*
54
Copyright The containerd Authors.

‎sysx/nodata_unix.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !(linux || solaris || windows)
2-
// +build !linux,!solaris,!windows
32

43
/*
54
Copyright The containerd Authors.

‎sysx/xattr.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build linux || darwin
2-
// +build linux darwin
32

43
/*
54
Copyright The containerd Authors.

‎sysx/xattr_unsupported.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !linux && !darwin
2-
// +build !linux,!darwin
32

43
/*
54
Copyright The containerd Authors.

‎testutil/helpers_unix.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows
2-
// +build !windows
32

43
/*
54
Copyright The containerd Authors.

‎testutil/mount_other.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !linux && !windows
2-
// +build !linux,!windows
32

43
/*
54
Copyright The containerd Authors.

0 commit comments

Comments
 (0)
Please sign in to comment.