# types/folder.types.ts

> 8 lines of code and 2 definitions.

Tree: Content Fingerprint
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/content-fingerprint#file-content-fingerprint-types-folder-types-ts
Source text: https://banes-lab.com/source/content-fingerprint/types/folder.types.ts.txt

Listed in [types](https://banes-lab.com/api/source/content-fingerprint/types.md), after [types/fingerprint.types.ts](https://banes-lab.com/source/content-fingerprint/types/fingerprint.types.ts.md).

## Definitions

- `CollectOptions` (interface_declaration, line 1, exported)
- `FolderScan` (interface_declaration, line 6, exported)

## Contained in

- [types](https://banes-lab.com/anatomy/content-fingerprint/folder-content-fingerprint-types.md)

## Source

```typescript
export interface CollectOptions {
    excluded?: (dir: string) => boolean;
    include?: (name: string) => boolean;
}

export interface FolderScan {
    readonly dirs: string[];
    readonly files: string[];
}
```
