47 lines
840 B
Markdown
47 lines
840 B
Markdown
|
|
|
|
# Hierarchy
|
|
|
|
**Compact**
|
|
|
|
# Constructors
|
|
|
|
<a id="constructor"></a>
|
|
|
|
## constructor
|
|
|
|
⊕ **new Compact**(file: *`string`*): [Compact](_fileflatdb_compact_.compact.md)
|
|
|
|
*Defined in [FileFlatDb/Compact.ts:17](https://github.com/polkadot-js/common/blob/4c658e8/packages/db/src/FileFlatDb/Compact.ts#L17)*
|
|
|
|
**Parameters:**
|
|
|
|
| Name | Type |
|
|
| ------ | ------ |
|
|
| file | `string` |
|
|
|
|
**Returns:** [Compact](_fileflatdb_compact_.compact.md)
|
|
|
|
___
|
|
|
|
# Methods
|
|
|
|
<a id="maintain"></a>
|
|
|
|
## maintain
|
|
|
|
▸ **maintain**(fn: *[ProgressCb](../modules/_types_.md#progresscb)*): `void`
|
|
|
|
*Defined in [FileFlatDb/Compact.ts:24](https://github.com/polkadot-js/common/blob/4c658e8/packages/db/src/FileFlatDb/Compact.ts#L24)*
|
|
|
|
**Parameters:**
|
|
|
|
| Name | Type |
|
|
| ------ | ------ |
|
|
| fn | [ProgressCb](../modules/_types_.md#progresscb) |
|
|
|
|
**Returns:** `void`
|
|
|
|
___
|
|
|