Skip to content

GlobFilter class

namespace: Serenity.IO   assembly: Serenity.Net.Core

A fast glob implementation, compatible with the .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 or empty, all files are included by default, unless they match a pattern in the exclude list. When exclude is null, it is ignored. (2 constructors)
IsMatch(…) Determines whether the specified path is matching this filter.

See Also