Struct globset::GlobSetBuilder [] [src]

pub struct GlobSetBuilder { /* fields omitted */ }

GlobSetBuilder builds a group of patterns that can be used to simultaneously match a file path.

Methods

impl GlobSetBuilder
[src]

Create a new GlobSetBuilder. A GlobSetBuilder can be used to add new patterns. Once all patterns have been added, build should be called to produce a GlobSet, which can then be used for matching.

Builds a new matcher from all of the glob patterns added so far.

Once a matcher is built, no new patterns can be added to it.

Add a new pattern to this set.