aboutsummaryrefslogtreecommitdiff
path: root/testdata/scan/with_spdx.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-01-11 21:27:58 +0700
committerShulhan <ms@kilabit.info>2026-01-11 21:36:20 +0700
commit069380e6b34d36ca2ace9c0d7e2ec4efdc4a2736 (patch)
tree2c0f0c75021eaa3a7e61fe2553ae2040ccd3f946 /testdata/scan/with_spdx.go
parente5daeb13cbd446a4fe882fb722d8d3359dd9bef9 (diff)
downloadspdxconv-069380e6b34d36ca2ace9c0d7e2ec4efdc4a2736.tar.xz
all: exclude file that contains both SPDX license and copyright text
If the file already contains SPDX-License-Identifier and SPDX-FileCopyrightText, in any order, ignore it from being included during scan.
Diffstat (limited to 'testdata/scan/with_spdx.go')
-rw-r--r--testdata/scan/with_spdx.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/testdata/scan/with_spdx.go b/testdata/scan/with_spdx.go
new file mode 100644
index 0000000..c30ff8f
--- /dev/null
+++ b/testdata/scan/with_spdx.go
@@ -0,0 +1,4 @@
+// SPDX-License-Identifier: GPL-3.0-only
+// SPDX-FileCopyrightText: 2026 M. Shulhan <ms@kilabit.info>
+
+package spdxconv