# `SqliteStorage`

A class in `fastatp.repo.storage` ([source](https://github.com/jacoblapenna/fastatp/blob/main/fastatp/repo/storage.py#L69)).

```python
SqliteStorage(directory: str | Path)
```

The built-in durable storage: a directory holding `blocks.sqlite`
(blocks and heads, one file, so a consistent copy of it is the whole repo)
and `blobs.sqlite` (created when first used). Several processes may
open the same directory; sqlite serializes the writers and the head
swap decides who wins.

## Attributes

- `directory`
- `blocks: BlockStore`
- `heads: HeadStore`
- `blobs: BlobStore`

## Methods

### `close`

```python
close() -> None
```
