stringutils

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2022 License: Apache-2.0 Imports: 2 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EscapeSpecialChars

func EscapeSpecialChars(path string) string

func MatchWildcardPattern

func MatchWildcardPattern(pattern string, str string) (matched bool, err error)

MatchWildcardPattern returns whether str matches the pattern, which may contain wildcards.

func WildcardPatternToRegExp

func WildcardPatternToRegExp(localPath string) string

WildcardPatternToRegExp converts a wildcard pattern to a regular expression.

Types

This section is empty.

Jump to

Keyboard shortcuts

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