mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04:22 +01:00
rename filesystem to directory (#1317)
This commit is contained in:
1 parent
8de8938ad4
commit
179c607541
4 files changed
+4
-4
No files matched your search
@@ -14,7 +14,7 @@ type ScanTarget struct {
|
||||
Symlink string
|
||||
}
|
||||
|
||||
func FilesystemTargets(source string, s *semgroup.Group, followSymlinks bool) (<-chan ScanTarget, error) {
|
||||
func DirectoryTargets(source string, s *semgroup.Group, followSymlinks bool) (<-chan ScanTarget, error) {
|
||||
paths := make(chan ScanTarget)
|
||||
s.Go(func() error {
|
||||
defer close(paths)
|
||||
Reference in new issue
Block a user