Skip to content

Commit

Permalink
Finished reverting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed May 29, 2024
1 parent 952ecc0 commit 4de2dd0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/backends/store/simple.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export abstract class SimpleAsyncStore implements SimpleSyncStore {

protected queue: Set<Promise<unknown>> = new Set();

public abstract entries(): Promise<Iterable<[Ino, Uint8Array]>>;
protected abstract entries(): Promise<Iterable<[Ino, Uint8Array]>>;

public get(ino: Ino): Uint8Array | undefined {
return this.cache.get(ino);
Expand Down
5 changes: 0 additions & 5 deletions src/backends/store/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ export interface Store {
* Begins a new transaction.
*/
transaction(): Transaction;

/**
* Get all of the entries in a store
*/
entries(): Iterable<[Ino, Uint8Array]> | Promise<Iterable<[Ino, Uint8Array]>>;
}

/**
Expand Down

0 comments on commit 4de2dd0

Please sign in to comment.