summaryrefslogtreecommitdiffhomepage
path: root/syncs
diff options
context:
space:
mode:
authorWill Norris <will@tailscale.com>2023-01-27 13:37:20 -0800
committerWill Norris <will@willnorris.com>2023-01-27 15:36:29 -0800
commit71029cea2ddf82007b80f465b256d027eab0f02d (patch)
tree8bfbd38a138ac05eb569335e49e31f222579c564 /syncs
parent11f7f7d4a0e1758c5b0ad0ac7c9d7be67997627c (diff)
downloadtailscale-71029cea2ddf82007b80f465b256d027eab0f02d.tar.xz
tailscale-71029cea2ddf82007b80f465b256d027eab0f02d.zip
all: update copyright and license headers
This updates all source files to use a new standard header for copyright and license declaration. Notably, copyright no longer includes a date, and we now use the standard SPDX-License-Identifier header. This commit was done almost entirely mechanically with perl, and then some minimal manual fixes. Updates #6865 Signed-off-by: Will Norris <will@tailscale.com>
Diffstat (limited to 'syncs')
-rw-r--r--syncs/locked.go5
-rw-r--r--syncs/locked_test.go5
-rw-r--r--syncs/syncs.go5
-rw-r--r--syncs/syncs_test.go5
-rw-r--r--syncs/watchdog.go5
-rw-r--r--syncs/watchdog_test.go5
6 files changed, 12 insertions, 18 deletions
diff --git a/syncs/locked.go b/syncs/locked.go
index e7b5ec311..d2048665d 100644
--- a/syncs/locked.go
+++ b/syncs/locked.go
@@ -1,6 +1,5 @@
-// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// Copyright (c) Tailscale Inc & AUTHORS
+// SPDX-License-Identifier: BSD-3-Clause
package syncs
diff --git a/syncs/locked_test.go b/syncs/locked_test.go
index 7a06f413d..90b36e832 100644
--- a/syncs/locked_test.go
+++ b/syncs/locked_test.go
@@ -1,6 +1,5 @@
-// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// Copyright (c) Tailscale Inc & AUTHORS
+// SPDX-License-Identifier: BSD-3-Clause
//go:build go1.13 && !go1.19
diff --git a/syncs/syncs.go b/syncs/syncs.go
index fd565fbbe..4d2891e3a 100644
--- a/syncs/syncs.go
+++ b/syncs/syncs.go
@@ -1,6 +1,5 @@
-// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// Copyright (c) Tailscale Inc & AUTHORS
+// SPDX-License-Identifier: BSD-3-Clause
// Package syncs contains additional sync types and functionality.
package syncs
diff --git a/syncs/syncs_test.go b/syncs/syncs_test.go
index 632cae64f..3532d84f6 100644
--- a/syncs/syncs_test.go
+++ b/syncs/syncs_test.go
@@ -1,6 +1,5 @@
-// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// Copyright (c) Tailscale Inc & AUTHORS
+// SPDX-License-Identifier: BSD-3-Clause
package syncs
diff --git a/syncs/watchdog.go b/syncs/watchdog.go
index ba5f0816b..f4042644d 100644
--- a/syncs/watchdog.go
+++ b/syncs/watchdog.go
@@ -1,6 +1,5 @@
-// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// Copyright (c) Tailscale Inc & AUTHORS
+// SPDX-License-Identifier: BSD-3-Clause
package syncs
diff --git a/syncs/watchdog_test.go b/syncs/watchdog_test.go
index 07b03283a..11c51337a 100644
--- a/syncs/watchdog_test.go
+++ b/syncs/watchdog_test.go
@@ -1,6 +1,5 @@
-// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// Copyright (c) Tailscale Inc & AUTHORS
+// SPDX-License-Identifier: BSD-3-Clause
package syncs