2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-24 05:37:37 +00:00

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