Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/actionify/src/deps/globber.ts>CreateMatcherProps

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
interface CreateMatcherProps
import { type CreateMatcherProps } from "https://deno.land/x/actionify@0.3.0/src/deps/globber.ts";

Props for creating the matcher function which takes a pathname and returns true when the value matches and false when it doesn't match.

Properties

optional
disableNegation: boolean

When a glob begins with ! and the glob matches the source, the match will be negated. Set this to true to disable the behavior.

optional
disableGlobExpansion: boolean

Set to true to prevent expanding a glob pattern when it ends with /. An expanded glob pattern transforms abc/ to abc/**.

optional
caseInsensitive: boolean

Set to true to make globs case insensitive.

optional
dot: boolean

When true will match dot files and folders.

optional
junk: boolean

When true will match junk files

optional
extensions: string[] | null | undefined

The extensions that can be matched. Setting this to anything other than an empty array / or null will prevent matches on directories. Unless the directory has an extension.

optional
disableExtendedGlobbing: boolean | undefined

Extended globbing as described by the bash man page as the following.

?(pattern-list)   Matches zero or one occurrence of the given patterns
*(pattern-list)   Matches zero or more occurrences of the given patterns
+(pattern-list)   Matches one or more occurrences of the given patterns