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

go-fix: remove pre-go1.17 build-tags #252

Merged
merged 1 commit into from
Oct 26, 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 cmd/continuity/commands/mount.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux || freebsd
// +build linux freebsd

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/continuity/commands/mount_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows || solaris || openbsd || netbsd || dragonfly || darwin
// +build windows solaris openbsd netbsd dragonfly darwin

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion cmd/continuity/continuityfs/fuse.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux || freebsd
// +build linux freebsd

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion devices/devices_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion devices/mknod_freebsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build freebsd || dragonfly
// +build freebsd dragonfly

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion devices/mknod_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !(freebsd || windows)
// +build !freebsd,!windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion driver/driver_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion driver/driver_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build go1.13
// +build go1.13

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion driver/lchmod_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build darwin || freebsd || netbsd || openbsd || dragonfly || solaris
// +build darwin freebsd netbsd openbsd dragonfly solaris

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/copy_irregular_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !freebsd
// +build !windows,!freebsd

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/copy_linux_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/copy_nondarwin.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !darwin
// +build !darwin

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/copy_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build darwin || freebsd || openbsd || netbsd || dragonfly || solaris
// +build darwin freebsd openbsd netbsd dragonfly solaris

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/copy_unix_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux || darwin
// +build linux darwin

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/diff_nonlinux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/diff_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/dtype_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/dtype_linux_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/du_cmd_freebsddarwin_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build freebsd || dragonfly || darwin
// +build freebsd dragonfly darwin

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/du_cmd_unix_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows && !freebsd && !darwin && !dragonfly
// +build !windows,!freebsd,!darwin,!dragonfly

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/du_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/du_unix_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/du_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/fstest/compare_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/fstest/file_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/hardlink_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/path_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/stat_darwinbsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build darwin || freebsd || netbsd
// +build darwin freebsd netbsd

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/stat_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux || openbsd || dragonfly || solaris
// +build linux openbsd dragonfly solaris

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion fs/utimesnanoat.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !(windows || linux)
// +build !windows,!linux

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion hardlinks_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion manifest_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion manifest_test_darwin.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion resource_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion sysx/nodata_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !(linux || solaris || windows)
// +build !linux,!solaris,!windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion sysx/xattr.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux || darwin
// +build linux darwin

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion sysx/xattr_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux && !darwin
// +build !linux,!darwin

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion testutil/helpers_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright The containerd Authors.
Expand Down
1 change: 0 additions & 1 deletion testutil/mount_other.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux && !windows
// +build !linux,!windows

/*
Copyright The containerd Authors.
Expand Down
Loading