# datamonger.CacheCleanResult

Datamonger for Python · 0.4.0

[Source](<https://github.com/jolars/datamonger/blob/fbf4417f4d75b63acbb7eb39975add7aedbff2f6/packages/python/src/datamonger/_models.py>)

<a id="constructor"></a>

```python
CacheCleanResult(
    location: pathlib.Path,
    removed: tuple[datamonger.CacheEntry, ...],
    skipped: tuple[datamonger.CacheEntry, ...]
)
```

The entries removed or skipped by one manual cache eviction.

<a id="location"></a>

## `location`

```python
location: pathlib.Path = dataclasses.field(init=True)
```

[Source](<https://github.com/jolars/datamonger/blob/fbf4417f4d75b63acbb7eb39975add7aedbff2f6/packages/python/src/datamonger/_models.py>)

Cache root from which matching objects were selected for eviction.

<a id="removed"></a>

## `removed`

```python
removed: tuple[datamonger.CacheEntry, ...] = dataclasses.field(init=True)
```

[Source](<https://github.com/jolars/datamonger/blob/fbf4417f4d75b63acbb7eb39975add7aedbff2f6/packages/python/src/datamonger/_models.py>)

Entries actually deleted after acquiring their exclusive cache leases.

<a id="skipped"></a>

## `skipped`

```python
skipped: tuple[datamonger.CacheEntry, ...] = dataclasses.field(init=True)
```

[Source](<https://github.com/jolars/datamonger/blob/fbf4417f4d75b63acbb7eb39975add7aedbff2f6/packages/python/src/datamonger/_models.py>)

Matching entries retained because another operation held an active lease.

<a id="bytes_removed"></a>

## `bytes_removed`

```python
bytes_removed(self) -> int
```

[Source](<https://github.com/jolars/datamonger/blob/fbf4417f4d75b63acbb7eb39975add7aedbff2f6/packages/python/src/datamonger/_models.py>)

Return the number of cached bytes removed.
