Skip to content

Commit

Permalink
Changed LockedFS to named export
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Mar 15, 2024
1 parent 4979821 commit 21b9e3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/backends/Locked.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { Cred } from '../cred.js';
* LockedFS to avoid having to reason about the correctness of
* multiple requests interleaving.
*/
export default class LockedFS<T extends FileSystem> implements FileSystem {
export class LockedFS<T extends FileSystem> implements FileSystem {
private _mu: Mutex = new Mutex();

constructor(public readonly fs: T) {}
Expand Down
2 changes: 1 addition & 1 deletion src/backends/Overlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { FileSystem, FileSystemMetadata } from '../filesystem.js';
import { ApiError, ErrorCode } from '../ApiError.js';
import { File, FileFlag, PreloadFile } from '../file.js';
import { Stats } from '../stats.js';
import LockedFS from './Locked.js';
import { LockedFS } from './Locked.js';
import { dirname } from '../emulation/path.js';
import { Cred } from '../cred.js';
import { decode, encode } from '../utils.js';
Expand Down

0 comments on commit 21b9e3f

Please sign in to comment.