# types/fingerprint.types.ts

> 9 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-fingerprint-types-ts
Source text: https://banes-lab.com/source/content-fingerprint/types/fingerprint.types.ts.txt

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

## Definitions

- `FingerprintIndex` (interface_declaration, line 1, exported)
- `FingerprintIndexOptions` (interface_declaration, line 7, exported)

## Contained in

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

## Source

```typescript
export interface FingerprintIndex {
    flush: () => void;
    unchanged: (key: string, hash: string) => boolean;
    update: (key: string, hash: string) => void;
}

export interface FingerprintIndexOptions {
    file: string;
    force?: boolean;
}
```
