Skip to content

Commit

Permalink
build: remove build constraint syntax for go 1.16 and older
Browse files Browse the repository at this point in the history
  • Loading branch information
albertony committed Apr 18, 2024
1 parent db17aaf commit 68bf6aa
Show file tree
Hide file tree
Showing 220 changed files with 0 additions and 230 deletions.
1 change: 0 additions & 1 deletion backend/azureblob/azureblob.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !plan9 && !solaris && !js
// +build !plan9,!solaris,!js

// Package azureblob provides an interface to the Microsoft Azure blob object storage system
package azureblob
Expand Down
1 change: 0 additions & 1 deletion backend/azureblob/azureblob_internal_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !plan9 && !solaris && !js
// +build !plan9,!solaris,!js

package azureblob

Expand Down
1 change: 0 additions & 1 deletion backend/azureblob/azureblob_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Test AzureBlob filesystem interface

//go:build !plan9 && !solaris && !js
// +build !plan9,!solaris,!js

package azureblob

Expand Down
1 change: 0 additions & 1 deletion backend/azureblob/azureblob_unsupported.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
// about "no buildable Go source files "

//go:build plan9 || solaris || js
// +build plan9 solaris js

package azureblob
1 change: 0 additions & 1 deletion backend/azurefiles/azurefiles.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !plan9 && !js
// +build !plan9,!js

// Package azurefiles provides an interface to Microsoft Azure Files
package azurefiles
Expand Down
1 change: 0 additions & 1 deletion backend/azurefiles/azurefiles_internal_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !plan9 && !js
// +build !plan9,!js

package azurefiles

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

package azurefiles

Expand Down
1 change: 0 additions & 1 deletion backend/azurefiles/azurefiles_unsupported.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
// about "no buildable Go source files "

//go:build plan9 || js
// +build plan9 js

package azurefiles
1 change: 0 additions & 1 deletion backend/cache/cache.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !plan9 && !js
// +build !plan9,!js

// Package cache implements a virtual provider to cache existing remotes.
package cache
Expand Down
1 change: 0 additions & 1 deletion backend/cache/cache_internal_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !plan9 && !js && !race
// +build !plan9,!js,!race

package cache_test

Expand Down
1 change: 0 additions & 1 deletion backend/cache/cache_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Test Cache filesystem interface

//go:build !plan9 && !js && !race
// +build !plan9,!js,!race

package cache_test

Expand Down
1 change: 0 additions & 1 deletion backend/cache/cache_unsupported.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
// about "no buildable Go source files "

//go:build plan9 || js
// +build plan9 js

package cache
1 change: 0 additions & 1 deletion backend/cache/cache_upload_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !plan9 && !js && !race
// +build !plan9,!js,!race

package cache_test

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

package cache

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

package cache

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

package cache

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

package cache

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

package cache

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

package cache

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

package hdfs

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

// Package hdfs provides an interface to the HDFS storage system.
package hdfs
Expand Down
1 change: 0 additions & 1 deletion backend/hdfs/hdfs_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Test HDFS filesystem interface

//go:build !plan9
// +build !plan9

package hdfs_test

Expand Down
1 change: 0 additions & 1 deletion backend/hdfs/hdfs_unsupported.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
// about "no buildable Go source files "

//go:build plan9
// +build plan9

package hdfs
1 change: 0 additions & 1 deletion backend/hdfs/object.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !plan9
// +build !plan9

package hdfs

Expand Down
1 change: 0 additions & 1 deletion backend/local/about_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build darwin || dragonfly || freebsd || linux
// +build darwin dragonfly freebsd linux

package local

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

package local

Expand Down
1 change: 0 additions & 1 deletion backend/local/fadvise_other.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package local

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

package local

Expand Down
1 change: 0 additions & 1 deletion backend/local/lchtimes.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 local

Expand Down
1 change: 0 additions & 1 deletion backend/local/lchtimes_unix.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 local

Expand Down
1 change: 0 additions & 1 deletion backend/local/metadata_bsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build darwin || freebsd || netbsd
// +build darwin freebsd netbsd

package local

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

package local

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

package local

Expand Down
1 change: 0 additions & 1 deletion backend/local/metadata_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build openbsd || solaris
// +build openbsd solaris

package local

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

package local

Expand Down
1 change: 0 additions & 1 deletion backend/local/read_device_other.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Device reading functions

//go:build !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris

package local

Expand Down
1 change: 0 additions & 1 deletion backend/local/read_device_unix.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Device reading functions

//go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
// +build darwin dragonfly freebsd linux netbsd openbsd solaris

package local

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

package local

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

package local

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

package local

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

package local

Expand Down
1 change: 0 additions & 1 deletion backend/local/symlink.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 local

Expand Down
1 change: 0 additions & 1 deletion backend/local/symlink_other.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 local

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

package local

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

// The pkg/xattr module doesn't compile for openbsd or plan9
package local
Expand Down
1 change: 0 additions & 1 deletion backend/oracleobjectstorage/byok.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !plan9 && !solaris && !js
// +build !plan9,!solaris,!js

package oracleobjectstorage

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

package oracleobjectstorage

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

package oracleobjectstorage

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

package oracleobjectstorage

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

package oracleobjectstorage

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

package oracleobjectstorage

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

package oracleobjectstorage

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

// Package oracleobjectstorage provides an interface to the OCI object storage system.
package oracleobjectstorage
Expand Down
1 change: 0 additions & 1 deletion backend/oracleobjectstorage/oracleobjectstorage_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !plan9 && !solaris && !js
// +build !plan9,!solaris,!js

package oracleobjectstorage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
// about "no buildable Go source files "

//go:build plan9 || solaris || js
// +build plan9 solaris js

package oracleobjectstorage
1 change: 0 additions & 1 deletion backend/oracleobjectstorage/waiter.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !plan9 && !solaris && !js
// +build !plan9,!solaris,!js

package oracleobjectstorage

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

// Package qingstor provides an interface to QingStor object storage
// Home: https://www.qingcloud.com/
Expand Down
1 change: 0 additions & 1 deletion backend/qingstor/qingstor_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Test QingStor filesystem interface

//go:build !plan9 && !js
// +build !plan9,!js

package qingstor

Expand Down
1 change: 0 additions & 1 deletion backend/qingstor/qingstor_unsupported.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
// about "no buildable Go source files "

//go:build plan9 || js
// +build plan9 js

package qingstor
1 change: 0 additions & 1 deletion backend/qingstor/upload.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Upload object to QingStor

//go:build !plan9 && !js
// +build !plan9,!js

package qingstor

Expand Down
1 change: 0 additions & 1 deletion backend/s3/gen_setfrom.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Generate boilerplate code for setting similar structs from each other

//go:build ignore
// +build ignore

package main

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

// Package sftp provides a filesystem interface using github.com/pkg/sftp
package sftp
Expand Down
1 change: 0 additions & 1 deletion backend/sftp/sftp_internal_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !plan9
// +build !plan9

package sftp

Expand Down
Loading

0 comments on commit 68bf6aa

Please sign in to comment.