diff options
Diffstat (limited to 'scm.go')
| -rw-r--r-- | scm.go | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-3.0-only +// SPDX-FileCopyrightText: 2025 M. Shulhan <ms@kilabit.info> + +package spdxconv + +// sourceCodeManagement define the interface for SCM tools. +type sourceCodeManagement interface { + IsIgnored(path string) bool +} + +// dummySCM is a no scm. It always return false on IsIgnored. +type dummySCM struct{} + +func (scm *dummySCM) IsIgnored(path string) bool { + return false +} |
