File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change 7
7
export function supports ( ...manifests : Array < Partial < IManifest > > ) : IManifest
8
8
9
9
/**
10
- * Describes the abilities of an
10
+ * Describes the capabilities of an
11
11
* [`abstract-level`](https://github.com/Level/abstract-level) database. Support matrices
12
12
* for known `abstract-level` implementations can be found in
13
13
* [`level-supports`](https://github.com/Level/supports#features).
14
14
*/
15
15
export interface IManifest {
16
16
/**
17
- * Does the database have snapshot guarantees? Meaning that reads are unaffected by
18
- * simultaneous writes. For example, an iterator should read from a snapshot of the
19
- * database, created at the time `db.iterator()` was called. This means the iterator
20
- * will not see the data of simultaneous write operations.
17
+ * Does the database read from a snapshot as described in
18
+ * [`abstract-level`](https://github.com/Level/abstract-level#reading-from-snapshots)?
19
+ */
20
+ implicitSnapshots : boolean
21
+
22
+ /**
23
+ * Does the database implement `db.snapshot()` and do read methods accept a `snapshot`
24
+ * option as described in
25
+ * [`abstract-level`](https://github.com/Level/abstract-level#reading-from-snapshots)?
26
+ */
27
+ explicitSnapshots : boolean
28
+
29
+ /**
30
+ * Alias of {@link implicitSnapshots} for backwards compatibility.
21
31
*/
22
32
snapshots : boolean
23
33
You can’t perform that action at this time.
0 commit comments