# FileCache

**Kind:** Class

**Source:** [`atloria-monorepo/packages/doc-automation/src/v2/stages/stage-01-parse/services/entity-mapper.service.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/doc-automation/src/v2/stages/stage-01-parse/services/entity-mapper.service.ts#L110)

## Methods

| Method | Signature | Returns |
|---|---|---|
| `getLines` | `getLines(absolutePath: string)` | `string[] | null` |
| `clear` | `clear()` | `void` |

## Where it refuses work

- `FileCache` stops the work with an early return when `this.cache.has(absolutePath)`.

## When something fails

- `FileCache` handles failure in 1 place: it turns it into a return value in all 1.
