README

Package cloudeng.io/cmd/idu/internal/exclusions

CircleCI Go Report Card

import cloudeng.io/cmd/idu/internal/exclusions

Types

Type T
type T struct {
	// contains filtered or unexported fields
}

T represents a set of exclusions as regular expressions.

Functions
func New(exclusions []config.Exclusions) *T

New creates a new instance of exclusions.

Methods
func (e T) Exclude(path string) bool

Exclude returns true if the supplied path matches any of the exclusions.

Expand ▾ Collapse ▴

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type T

type T struct {
	// contains filtered or unexported fields
}

T represents a set of exclusions as regular expressions.

func New

func New(exclusions []config.Exclusions) *T

New creates a new instance of exclusions.

func (T) Exclude

func (e T) Exclude(path string) bool

Exclude returns true if the supplied path matches any of the exclusions.

Source Files