diff options
Diffstat (limited to 'scm.go')
| -rw-r--r-- | scm.go | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -8,9 +8,10 @@ type sourceCodeManagement interface { IsIgnored(path string) bool } -// dummySCM is a no scm. It always return false on IsIgnored. -type dummySCM struct{} +// noSCM is a type to indicate working directory without SCM. +// It always return false on IsIgnored. +type noSCM struct{} -func (scm *dummySCM) IsIgnored(path string) bool { +func (scm *noSCM) IsIgnored(path string) bool { return false } |
