add go:build headers everywhere

This commit is contained in:
Michael Eischer 2022-03-28 22:23:47 +02:00
parent a08b95c497
commit c60540b196
47 changed files with 50 additions and 3 deletions

View file

@ -1,3 +1,4 @@
//go:build debug
// +build debug
package main

View file

@ -1,3 +1,4 @@
//go:build darwin || freebsd || linux
// +build darwin freebsd linux
package main

View file

@ -1,3 +1,4 @@
//go:build debug || profile
// +build debug profile
package main

View file

@ -1,3 +1,4 @@
//go:build !debug && !profile
// +build !debug,!profile
package main

View file

@ -1,3 +1,4 @@
//go:build darwin || freebsd || linux
// +build darwin freebsd linux
package main

View file

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

View file

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

View file

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package archiver

View file

@ -1,3 +1,4 @@
//go:build windows
// +build windows
package archiver

View file

@ -1,3 +1,4 @@
//go:build aix || solaris
// +build aix solaris
package backend

View file

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package backend_test

View file

@ -1,3 +1,4 @@
//go:build !aix && !solaris && !windows
// +build !aix,!solaris,!windows
package backend

View file

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

View file

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

View file

@ -1,3 +1,4 @@
//go:build !debug
// +build !debug
package debug

View file

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

View file

@ -1,3 +1,4 @@
//go:build !debug
// +build !debug
package debug

View file

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

View file

@ -1,3 +1,4 @@
//go:build !debug
// +build !debug
package debug

View file

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package fs

View file

@ -1,3 +1,4 @@
//go:build windows
// +build windows
package fs

View file

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package fs

View file

@ -1,3 +1,4 @@
//go:build windows
// +build windows
package fs

View file

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package fs

View file

@ -1,3 +1,4 @@
//go:build freebsd || darwin || netbsd
// +build freebsd darwin netbsd
package fs

View file

@ -1,3 +1,4 @@
//go:build !windows && !darwin && !freebsd && !netbsd
// +build !windows,!darwin,!freebsd,!netbsd
package fs

View file

@ -1,3 +1,4 @@
//go:build windows
// +build windows
package fs

View file

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package fs

View file

@ -1,3 +1,4 @@
//go:build windows
// +build windows
package fs

View file

@ -1,3 +1,4 @@
//go:build darwin || freebsd || linux
// +build darwin freebsd linux
package fuse

View file

@ -1,3 +1,4 @@
//go:build darwin || freebsd || linux
// +build darwin freebsd linux
package fuse

View file

@ -1,3 +1,4 @@
//go:build darwin || freebsd || linux
// +build darwin freebsd linux
package fuse

View file

@ -1,3 +1,4 @@
//go:build darwin || freebsd || linux
// +build darwin freebsd linux
package fuse

View file

@ -1,3 +1,4 @@
//go:build darwin || freebsd || linux
// +build darwin freebsd linux
package fuse

View file

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package restic

View file

@ -1,3 +1,4 @@
//go:build !freebsd && !windows
// +build !freebsd,!windows
package restic

View file

@ -1,3 +1,4 @@
//go:build aix
// +build aix
package restic

View file

@ -1,3 +1,4 @@
//go:build freebsd
// +build freebsd
package restic

View file

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package restic

View file

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package restic

View file

@ -1,3 +1,4 @@
//go:build !linux && !darwin
// +build !linux,!darwin
package restorer

View file

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

View file

@ -1,3 +1,4 @@
//go:build darwin || dragonfly || freebsd || netbsd || openbsd
// +build darwin dragonfly freebsd netbsd openbsd
package signals

View file

@ -1,3 +1,4 @@
//go:build aix || linux || solaris
// +build aix linux solaris
package signals

View file

@ -1,3 +1,4 @@
//go:build !linux
// +build !linux
package termstatus

View file

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package termstatus

View file

@ -1,3 +1,4 @@
//go:build windows
// +build windows
package termstatus