Skip to content

Commit

Permalink
Handle closing/deleting; make perf builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jlongster committed Aug 3, 2021
1 parent b88629d commit 88da477
Show file tree
Hide file tree
Showing 23 changed files with 2,850 additions and 161 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

19 changes: 17 additions & 2 deletions dist/indexeddb-backend.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions dist/memory-backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ class File {

close() {
this.fsync();
this.ops.close();
}

delete() {
Expand Down Expand Up @@ -351,6 +352,10 @@ class FileOps {
return true;
}

close() {
return true;
}

delete() {
// in-memory noop
}
Expand Down
303 changes: 303 additions & 0 deletions dist/perf/index.js

Large diffs are not rendered by default.

Loading

0 comments on commit 88da477

Please sign in to comment.