GlobFilter class

namespace: Serenity.IO   assemblySerenity.Net.Core

A fast glob implementation, compatible with .gitignore patterns of GIT

public class GlobFilter

Public Members

name description
GlobFilter(…) Creates a new GlobFilter, containing both include and exclude patterns. When "include" is null / empty, all files are included by default, unless they match a pattern in "exclude" list. When "exclude" is null, it is ignored. (2 constructors)
IsMatch(…) Determines whether the specified path is matching this filter.

See Also