MCPcopy Create free account
hub / github.com/chhoumann/quickadd / hasFileFilter

Function hasFileFilter

src/utils/captureFileFilterTarget.ts:36–45  ·  view source on GitHub ↗
(filter: FieldFilter)

Source from the content-addressed store, hash-verified

34}
35
36function hasFileFilter(filter: FieldFilter): boolean {
37 return Boolean(
38 filter.folder ||
39 filter.folders?.length ||
40 filter.tags?.length ||
41 filter.excludeFolders?.length ||
42 filter.excludeTags?.length ||
43 filter.excludeFiles?.length,
44 );
45}
46
47/**
48 * Parses Capture "Capture to" file-filter targets:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected