with public interfaces
This commit is contained in:
6
pkg/actions/interface.go
Normal file
6
pkg/actions/interface.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package actions
|
||||
|
||||
import "context"
|
||||
|
||||
type Predicate func(ctx context.Context, path string) (bool, error)
|
||||
type Action func(ctx context.Context, path string) error
|
Reference in New Issue
Block a user