filter

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildGlobPattern

func BuildGlobPattern(paths []string) glob.Glob

BuildGlobPattern will build a Glob object from a list of included/excluded Paths

func SecretMatchesGlob

func SecretMatchesGlob(secretPath string, includeGlobPattern glob.Glob, excludeGlobPattern glob.Glob) bool

SecretMatchesGlob evaluates if the given path matches the inclusion/exclusion glob patterns

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL