build: remove build constraint syntax for go 1.16 and older

This commit is contained in:
albertony 2024-04-18 14:40:44 +02:00
parent db17aaf7cd
commit 68bf6aa584
220 changed files with 0 additions and 230 deletions

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !solaris && !js //go:build !plan9 && !solaris && !js
// +build !plan9,!solaris,!js
// Package azureblob provides an interface to the Microsoft Azure blob object storage system // Package azureblob provides an interface to the Microsoft Azure blob object storage system
package azureblob package azureblob

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !solaris && !js //go:build !plan9 && !solaris && !js
// +build !plan9,!solaris,!js
package azureblob package azureblob

View File

@ -1,7 +1,6 @@
// Test AzureBlob filesystem interface // Test AzureBlob filesystem interface
//go:build !plan9 && !solaris && !js //go:build !plan9 && !solaris && !js
// +build !plan9,!solaris,!js
package azureblob package azureblob

View File

@ -2,6 +2,5 @@
// about "no buildable Go source files " // about "no buildable Go source files "
//go:build plan9 || solaris || js //go:build plan9 || solaris || js
// +build plan9 solaris js
package azureblob package azureblob

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !js //go:build !plan9 && !js
// +build !plan9,!js
// Package azurefiles provides an interface to Microsoft Azure Files // Package azurefiles provides an interface to Microsoft Azure Files
package azurefiles package azurefiles

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !js //go:build !plan9 && !js
// +build !plan9,!js
package azurefiles package azurefiles

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !js //go:build !plan9 && !js
// +build !plan9,!js
package azurefiles package azurefiles

View File

@ -2,6 +2,5 @@
// about "no buildable Go source files " // about "no buildable Go source files "
//go:build plan9 || js //go:build plan9 || js
// +build plan9 js
package azurefiles package azurefiles

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !js //go:build !plan9 && !js
// +build !plan9,!js
// Package cache implements a virtual provider to cache existing remotes. // Package cache implements a virtual provider to cache existing remotes.
package cache package cache

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !js && !race //go:build !plan9 && !js && !race
// +build !plan9,!js,!race
package cache_test package cache_test

View File

@ -1,7 +1,6 @@
// Test Cache filesystem interface // Test Cache filesystem interface
//go:build !plan9 && !js && !race //go:build !plan9 && !js && !race
// +build !plan9,!js,!race
package cache_test package cache_test

View File

@ -2,6 +2,5 @@
// about "no buildable Go source files " // about "no buildable Go source files "
//go:build plan9 || js //go:build plan9 || js
// +build plan9 js
package cache package cache

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !js && !race //go:build !plan9 && !js && !race
// +build !plan9,!js,!race
package cache_test package cache_test

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !js //go:build !plan9 && !js
// +build !plan9,!js
package cache package cache

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !js //go:build !plan9 && !js
// +build !plan9,!js
package cache package cache

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !js //go:build !plan9 && !js
// +build !plan9,!js
package cache package cache

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !js //go:build !plan9 && !js
// +build !plan9,!js
package cache package cache

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !js //go:build !plan9 && !js
// +build !plan9,!js
package cache package cache

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !js //go:build !plan9 && !js
// +build !plan9,!js
package cache package cache

View File

@ -1,5 +1,4 @@
//go:build !plan9 //go:build !plan9
// +build !plan9
package hdfs package hdfs

View File

@ -1,5 +1,4 @@
//go:build !plan9 //go:build !plan9
// +build !plan9
// Package hdfs provides an interface to the HDFS storage system. // Package hdfs provides an interface to the HDFS storage system.
package hdfs package hdfs

View File

@ -1,7 +1,6 @@
// Test HDFS filesystem interface // Test HDFS filesystem interface
//go:build !plan9 //go:build !plan9
// +build !plan9
package hdfs_test package hdfs_test

View File

@ -2,6 +2,5 @@
// about "no buildable Go source files " // about "no buildable Go source files "
//go:build plan9 //go:build plan9
// +build plan9
package hdfs package hdfs

View File

@ -1,5 +1,4 @@
//go:build !plan9 //go:build !plan9
// +build !plan9
package hdfs package hdfs

View File

@ -1,5 +1,4 @@
//go:build darwin || dragonfly || freebsd || linux //go:build darwin || dragonfly || freebsd || linux
// +build darwin dragonfly freebsd linux
package local package local

View File

@ -1,5 +1,4 @@
//go:build windows //go:build windows
// +build windows
package local package local

View File

@ -1,5 +1,4 @@
//go:build !linux //go:build !linux
// +build !linux
package local package local

View File

@ -1,5 +1,4 @@
//go:build linux //go:build linux
// +build linux
package local package local

View File

@ -1,5 +1,4 @@
//go:build windows || plan9 || js //go:build windows || plan9 || js
// +build windows plan9 js
package local package local

View File

@ -1,5 +1,4 @@
//go:build !windows && !plan9 && !js //go:build !windows && !plan9 && !js
// +build !windows,!plan9,!js
package local package local

View File

@ -1,5 +1,4 @@
//go:build darwin || freebsd || netbsd //go:build darwin || freebsd || netbsd
// +build darwin freebsd netbsd
package local package local

View File

@ -1,5 +1,4 @@
//go:build linux //go:build linux
// +build linux
package local package local

View File

@ -1,5 +1,4 @@
//go:build plan9 || js //go:build plan9 || js
// +build plan9 js
package local package local

View File

@ -1,5 +1,4 @@
//go:build openbsd || solaris //go:build openbsd || solaris
// +build openbsd solaris
package local package local

View File

@ -1,5 +1,4 @@
//go:build windows //go:build windows
// +build windows
package local package local

View File

@ -1,7 +1,6 @@
// Device reading functions // Device reading functions
//go:build !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris //go:build !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris
package local package local

View File

@ -1,7 +1,6 @@
// Device reading functions // Device reading functions
//go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris //go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
package local package local

View File

@ -1,5 +1,4 @@
//go:build !windows //go:build !windows
// +build !windows
package local package local

View File

@ -1,5 +1,4 @@
//go:build windows //go:build windows
// +build windows
package local package local

View File

@ -1,5 +1,4 @@
//go:build !windows //go:build !windows
// +build !windows
package local package local

View File

@ -1,5 +1,4 @@
//go:build windows //go:build windows
// +build windows
package local package local

View File

@ -1,5 +1,4 @@
//go:build !windows && !plan9 && !js //go:build !windows && !plan9 && !js
// +build !windows,!plan9,!js
package local package local

View File

@ -1,5 +1,4 @@
//go:build windows || plan9 || js //go:build windows || plan9 || js
// +build windows plan9 js
package local package local

View File

@ -1,5 +1,4 @@
//go:build !openbsd && !plan9 //go:build !openbsd && !plan9
// +build !openbsd,!plan9
package local package local

View File

@ -1,5 +1,4 @@
//go:build openbsd || plan9 //go:build openbsd || plan9
// +build openbsd plan9
// The pkg/xattr module doesn't compile for openbsd or plan9 // The pkg/xattr module doesn't compile for openbsd or plan9
package local package local

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !solaris && !js //go:build !plan9 && !solaris && !js
// +build !plan9,!solaris,!js
package oracleobjectstorage package oracleobjectstorage

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !solaris && !js //go:build !plan9 && !solaris && !js
// +build !plan9,!solaris,!js
package oracleobjectstorage package oracleobjectstorage

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !solaris && !js //go:build !plan9 && !solaris && !js
// +build !plan9,!solaris,!js
package oracleobjectstorage package oracleobjectstorage

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !solaris && !js //go:build !plan9 && !solaris && !js
// +build !plan9,!solaris,!js
package oracleobjectstorage package oracleobjectstorage

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !solaris && !js //go:build !plan9 && !solaris && !js
// +build !plan9,!solaris,!js
package oracleobjectstorage package oracleobjectstorage

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !solaris && !js //go:build !plan9 && !solaris && !js
// +build !plan9,!solaris,!js
package oracleobjectstorage package oracleobjectstorage

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !solaris && !js //go:build !plan9 && !solaris && !js
// +build !plan9,!solaris,!js
package oracleobjectstorage package oracleobjectstorage

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !solaris && !js //go:build !plan9 && !solaris && !js
// +build !plan9,!solaris,!js
// Package oracleobjectstorage provides an interface to the OCI object storage system. // Package oracleobjectstorage provides an interface to the OCI object storage system.
package oracleobjectstorage package oracleobjectstorage

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !solaris && !js //go:build !plan9 && !solaris && !js
// +build !plan9,!solaris,!js
package oracleobjectstorage package oracleobjectstorage

View File

@ -2,6 +2,5 @@
// about "no buildable Go source files " // about "no buildable Go source files "
//go:build plan9 || solaris || js //go:build plan9 || solaris || js
// +build plan9 solaris js
package oracleobjectstorage package oracleobjectstorage

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !solaris && !js //go:build !plan9 && !solaris && !js
// +build !plan9,!solaris,!js
package oracleobjectstorage package oracleobjectstorage

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !js //go:build !plan9 && !js
// +build !plan9,!js
// Package qingstor provides an interface to QingStor object storage // Package qingstor provides an interface to QingStor object storage
// Home: https://www.qingcloud.com/ // Home: https://www.qingcloud.com/

View File

@ -1,7 +1,6 @@
// Test QingStor filesystem interface // Test QingStor filesystem interface
//go:build !plan9 && !js //go:build !plan9 && !js
// +build !plan9,!js
package qingstor package qingstor

View File

@ -2,6 +2,5 @@
// about "no buildable Go source files " // about "no buildable Go source files "
//go:build plan9 || js //go:build plan9 || js
// +build plan9 js
package qingstor package qingstor

View File

@ -1,7 +1,6 @@
// Upload object to QingStor // Upload object to QingStor
//go:build !plan9 && !js //go:build !plan9 && !js
// +build !plan9,!js
package qingstor package qingstor

View File

@ -1,7 +1,6 @@
// Generate boilerplate code for setting similar structs from each other // Generate boilerplate code for setting similar structs from each other
//go:build ignore //go:build ignore
// +build ignore
package main package main

View File

@ -1,5 +1,4 @@
//go:build !plan9 //go:build !plan9
// +build !plan9
// Package sftp provides a filesystem interface using github.com/pkg/sftp // Package sftp provides a filesystem interface using github.com/pkg/sftp
package sftp package sftp

View File

@ -1,5 +1,4 @@
//go:build !plan9 //go:build !plan9
// +build !plan9
package sftp package sftp

View File

@ -1,7 +1,6 @@
// Test Sftp filesystem interface // Test Sftp filesystem interface
//go:build !plan9 //go:build !plan9
// +build !plan9
package sftp_test package sftp_test

View File

@ -2,6 +2,5 @@
// about "no buildable Go source files " // about "no buildable Go source files "
//go:build plan9 //go:build plan9
// +build plan9
package sftp package sftp

View File

@ -1,5 +1,4 @@
//go:build !plan9 //go:build !plan9
// +build !plan9
package sftp package sftp

View File

@ -1,5 +1,4 @@
//go:build !plan9 //go:build !plan9
// +build !plan9
package sftp package sftp

View File

@ -1,5 +1,4 @@
//go:build !plan9 //go:build !plan9
// +build !plan9
package sftp package sftp

View File

@ -1,5 +1,4 @@
//go:build !plan9 //go:build !plan9
// +build !plan9
package sftp package sftp

View File

@ -1,5 +1,4 @@
//go:build !plan9 //go:build !plan9
// +build !plan9
package sftp package sftp

View File

@ -1,5 +1,4 @@
//go:build ignore //go:build ignore
// +build ignore
package main package main

View File

@ -1,5 +1,4 @@
//go:build !plan9 //go:build !plan9
// +build !plan9
// Package storj provides an interface to Storj decentralized object storage. // Package storj provides an interface to Storj decentralized object storage.
package storj package storj

View File

@ -1,5 +1,4 @@
//go:build !plan9 //go:build !plan9
// +build !plan9
package storj package storj

View File

@ -1,5 +1,4 @@
//go:build !plan9 //go:build !plan9
// +build !plan9
// Test Storj filesystem interface // Test Storj filesystem interface
package storj_test package storj_test

View File

@ -1,4 +1,3 @@
//go:build plan9 //go:build plan9
// +build plan9
package storj package storj

View File

@ -1,5 +1,4 @@
//go:build go1.20 //go:build go1.20
// +build go1.20
package union package union

View File

@ -1,5 +1,4 @@
//go:build ignore //go:build ignore
// +build ignore
// Attempt to work out if branches have already been merged // Attempt to work out if branches have already been merged
package main package main

View File

@ -1,5 +1,4 @@
//go:build ignore //go:build ignore
// +build ignore
// Cross compile rclone - in go because I hate bash ;-) // Cross compile rclone - in go because I hate bash ;-)

View File

@ -1,5 +1,4 @@
//go:build ignore //go:build ignore
// +build ignore
// Get the latest release from a github project // Get the latest release from a github project
// //

View File

@ -16,7 +16,6 @@
//go:generate go run resource_windows.go //go:generate go run resource_windows.go
//go:build tools //go:build tools
// +build tools
package main package main

View File

@ -1,5 +1,4 @@
//go:build ignore //go:build ignore
// +build ignore
// Test that the tests in the suite passed in are independent // Test that the tests in the suite passed in are independent

View File

@ -1,5 +1,4 @@
//go:build !plan9 && !js //go:build !plan9 && !js
// +build !plan9,!js
// Package cachestats provides the cachestats command. // Package cachestats provides the cachestats command.
package cachestats package cachestats

View File

@ -2,6 +2,5 @@
// about "no buildable Go source files " // about "no buildable Go source files "
//go:build plan9 || js //go:build plan9 || js
// +build plan9 js
package cachestats package cachestats

View File

@ -1,6 +1,4 @@
//go:build cmount && ((linux && cgo) || (darwin && cgo) || (freebsd && cgo) || windows) //go:build cmount && ((linux && cgo) || (darwin && cgo) || (freebsd && cgo) || windows)
// +build cmount
// +build linux,cgo darwin,cgo freebsd,cgo windows
package cmount package cmount

View File

@ -1,6 +1,4 @@
//go:build cmount && ((linux && cgo) || (darwin && cgo) || (freebsd && cgo) || windows) //go:build cmount && ((linux && cgo) || (darwin && cgo) || (freebsd && cgo) || windows)
// +build cmount
// +build linux,cgo darwin,cgo freebsd,cgo windows
// Package cmount implements a FUSE mounting system for rclone remotes. // Package cmount implements a FUSE mounting system for rclone remotes.
// //

View File

@ -1,5 +1,4 @@
//go:build brew && darwin //go:build brew && darwin
// +build brew,darwin
// Package cmount implements a FUSE mounting system for rclone remotes. // Package cmount implements a FUSE mounting system for rclone remotes.
// //

View File

@ -1,7 +1,4 @@
//go:build cmount && ((linux && cgo) || (darwin && cgo) || (freebsd && cgo) || windows) && (!race || !windows) //go:build cmount && ((linux && cgo) || (darwin && cgo) || (freebsd && cgo) || windows) && (!race || !windows)
// +build cmount
// +build linux,cgo darwin,cgo freebsd,cgo windows
// +build !race !windows
// Package cmount implements a FUSE mounting system for rclone remotes. // Package cmount implements a FUSE mounting system for rclone remotes.
// //

View File

@ -1,8 +1,4 @@
//go:build !((linux && cgo && cmount) || (darwin && cgo && cmount) || (freebsd && cgo && cmount) || (windows && cmount)) //go:build !((linux && cgo && cmount) || (darwin && cgo && cmount) || (freebsd && cgo && cmount) || (windows && cmount))
// +build !linux !cgo !cmount
// +build !darwin !cgo !cmount
// +build !freebsd !cgo !cmount
// +build !windows !cmount
// Package cmount implements a FUSE mounting system for rclone remotes. // Package cmount implements a FUSE mounting system for rclone remotes.
// //

View File

@ -1,5 +1,4 @@
//go:build cmount && cgo && !windows //go:build cmount && cgo && !windows
// +build cmount,cgo,!windows
package cmount package cmount

View File

@ -1,5 +1,4 @@
//go:build cmount && windows //go:build cmount && windows
// +build cmount,windows
package cmount package cmount

View File

@ -1,5 +1,4 @@
//go:build linux //go:build linux
// +build linux
package mount package mount

View File

@ -1,5 +1,4 @@
//go:build linux //go:build linux
// +build linux
package mount package mount

View File

@ -1,7 +1,6 @@
// FUSE main Fs // FUSE main Fs
//go:build linux //go:build linux
// +build linux
package mount package mount

View File

@ -1,5 +1,4 @@
//go:build linux //go:build linux
// +build linux
package mount package mount

View File

@ -1,5 +1,4 @@
//go:build linux //go:build linux
// +build linux
// Package mount implements a FUSE mounting system for rclone remotes. // Package mount implements a FUSE mounting system for rclone remotes.
package mount package mount

View File

@ -1,5 +1,4 @@
//go:build linux //go:build linux
// +build linux
package mount package mount

View File

@ -1,5 +1,4 @@
//go:build !linux //go:build !linux
// +build !linux
// Package mount implements a FUSE mounting system for rclone remotes. // Package mount implements a FUSE mounting system for rclone remotes.
// //

View File

@ -1,5 +1,4 @@
//go:build ignore //go:build ignore
// +build ignore
// Read blocks out of a single file to time the seeking code // Read blocks out of a single file to time the seeking code
package main package main

View File

@ -1,5 +1,4 @@
//go:build ignore //go:build ignore
// +build ignore
// Read two files with lots of seeking to stress test the seek code // Read two files with lots of seeking to stress test the seek code
package main package main

View File

@ -1,5 +1,4 @@
//go:build ignore //go:build ignore
// +build ignore
// Read lots files with lots of simultaneous seeking to stress test the seek code // Read lots files with lots of simultaneous seeking to stress test the seek code
package main package main

Some files were not shown because too many files have changed in this diff Show More