From e5daeb13cbd446a4fe882fb722d8d3359dd9bef9 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sun, 11 Jan 2026 20:36:38 +0700 Subject: all: ignore symlink, COPYING, LICENSE, and LICENSES For symlink, we ignore for now. COPYING, LICENSE, and LICENSES are common files part of SPDX/reuse specifications. While at it, fix checking if path is ignored by git by passing the relative path instead of base name. --- testdata/scan/test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'testdata/scan/test.go') diff --git a/testdata/scan/test.go b/testdata/scan/test.go index 46e2bd9..a50aac4 100644 --- a/testdata/scan/test.go +++ b/testdata/scan/test.go @@ -1,3 +1,5 @@ // Copyright 2022, Shulhan . All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. \ No newline at end of file +// license that can be found in the LICENSE file. + +package spdxconv_test -- cgit v1.3