Skip to main content
Module

x/glob_filter/mod.ts

Check if a glob matches a file path
Latest
import * as globFilter from "https://deno.land/x/glob_filter@1.0.0/mod.ts";

Functions

Returns true if the file was included, but not excluded. Files should be passed in as relative paths. The first ./ part of the file or glob will be removed before testing

Filters out the files that were either not included in globs.include, or excluded from globs.exclude. Files should be passed in as relative paths. The first ./ part of the file or glob will be removed before testing