Skip to content

Commit

Permalink
Removed resDeletionLog and unwrap from OverlayFS
Browse files Browse the repository at this point in the history
Documented `MutexedFS.fs`
  • Loading branch information
james-pre committed Sep 7, 2024
1 parent f33519f commit 312a4e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
7 changes: 6 additions & 1 deletion src/backends/mutexed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ export class MutexLock {
* @internal
*/
export class MutexedFS<FS extends FileSystem> implements FileSystem {
public constructor(public readonly fs: FS) {}
public constructor(
/**
* The unmutexed FS that is being wrapped
*/
public readonly fs: FS
) {}

/**
* The current locks
Expand Down
8 changes: 0 additions & 8 deletions src/backends/overlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -552,14 +552,6 @@ export class OverlayFS extends MutexedFS<UnmutexedOverlayFS> {
public getDeletionLog(): string {
return super.fs.getDeletionLog();
}

public resDeletionLog(): string {
return super.fs.getDeletionLog();
}

public unwrap(): UnmutexedOverlayFS {
return super.fs;
}
}

const _Overlay = {
Expand Down

0 comments on commit 312a4e1

Please sign in to comment.