Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigSorter ¶
type ConfigSorter struct {
// contains filtered or unexported fields
}
func NewConfigSorter ¶
func NewConfigSorter(folderPath, configPath, inline string) (*ConfigSorter, error)
func (*ConfigSorter) Decide ¶
func (s *ConfigSorter) Decide(ctx context.Context, files []core.FileEntry) ([]core.FileOperation, error)
func (*ConfigSorter) GetBlacklist ¶
func (s *ConfigSorter) GetBlacklist() []string
type RuleSorter ¶
type RuleSorter struct {
// contains filtered or unexported fields
}
func NewRuleSorter ¶
func NewRuleSorter(rules []config.RuleSpec) (*RuleSorter, error)
func (*RuleSorter) Decide ¶
func (s *RuleSorter) Decide(ctx context.Context, files []core.FileEntry) ([]core.FileOperation, error)
func (*RuleSorter) GetBlacklist ¶
func (s *RuleSorter) GetBlacklist() []string
Click to show internal directories.
Click to hide internal directories.