Skip to main content

Type Alias: DirectoryFilterOpts

DirectoryFilterOpts = object

Properties

exclude?

optional exclude: string[]

If set, paths matching one of these glob patterns is excluded from the new snapshot. Example: ["node_modules/", ".git*", ".env"]


include?

optional include: string[]

If set, only paths matching one of these glob patterns is included in the new snapshot. Example: (e.g., ["app/", "package.*"]).