@@ -2,7 +2,8 @@ import * as path from 'node:path'
|
||||
|
||||
export default class NodeFileSystemHandle implements FileSystemHandle {
|
||||
kind: FileSystemHandleKind;
|
||||
name: string;
|
||||
path: string;
|
||||
get name() { return path.basename(this.path) }
|
||||
async isSameEntry(other: FileSystemHandle): Promise<boolean> {
|
||||
if (typeof other != typeof this) return false
|
||||
let thisName = this.name
|
||||
|
||||
Reference in New Issue
Block a user