Documentation
¶
Overview ¶
Package glob implements globbing for elvish.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Segment ¶
type Segment struct { // Type of the Segment. Type SegmentType Data string // For Literal, the literal string. For Question, Star and StarStar, nonempty if they should match all files. }
Segment is the constituent unit of a Pattern.
type SegmentType ¶
type SegmentType int
SegmentType is the type of a Segment.
const ( Literal SegmentType = iota Slash Question Star StarStar )
Values for SegmentType.
Click to show internal directories.
Click to hide internal directories.