Documentation ¶
Index ¶
- type FilePattern
- func (fp FilePattern) Expr() *regexp.Regexp
- func (fp FilePattern) Fill(groupValues map[string]string) (string, error)
- func (fp FilePattern) Find(dir string) []string
- func (fp FilePattern) GroupMatches() []Group
- func (fp FilePattern) GroupValues(filePath string) map[string]string
- func (fp FilePattern) Match(path string) map[string]string
- func (fp FilePattern) String() string
- type Group
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilePattern ¶
func (FilePattern) Expr ¶
func (fp FilePattern) Expr() *regexp.Regexp
func (FilePattern) Find ¶
func (fp FilePattern) Find(dir string) []string
func (FilePattern) GroupMatches ¶
func (fp FilePattern) GroupMatches() []Group
func (FilePattern) GroupValues ¶
func (fp FilePattern) GroupValues(filePath string) map[string]string
func (FilePattern) String ¶
func (fp FilePattern) String() string
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
func (Group) IsConstant ¶
Click to show internal directories.
Click to hide internal directories.