/
githubmirror
/
gitleaks
Обзор
Документация
Войти
/
githubmirror
/
gitleaks
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
sources/source.go
16 строк
425 B
bplaxco
Archive support (#1872)
01 июн 2025, 19:29
Не верифицирован
01 июн 2025, 19:29
782f310
Код
Авторство
О чём код?
package sources import ( "context" ) // FragmentsFunc is the type of function called by Fragments to yield the next // fragment type FragmentsFunc func(fragment Fragment, err error) error // Source is a thing that can yield fragments type Source interface { // Fragments provides a filepath.WalkDir like interface for scanning the // fragments in the source Fragments(ctx context.Context, yield FragmentsFunc) error }