@zenfs/core 0.9.0 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/backends/{FileIndex.d.ts → Index.d.ts} +2 -2
- package/dist/backends/{FileIndex.js → Index.js} +4 -4
- package/dist/browser.min.js +4 -4
- package/dist/browser.min.js.map +4 -4
- package/dist/emulation/async.d.ts +1 -0
- package/dist/emulation/async.js +7 -0
- package/dist/emulation/promises.d.ts +0 -4
- package/dist/emulation/promises.js +1 -8
- package/dist/emulation/streams.d.ts +0 -90
- package/dist/emulation/streams.js +0 -30
- package/dist/filesystem.d.ts +1 -1
- package/dist/filesystem.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/package.json +3 -3
|
@@ -198,7 +198,7 @@ export declare abstract class SyncIndexFS<TData> extends IndexFS<TData> {
|
|
|
198
198
|
protected openFileInode(inode: IndexFileInode<TData>, path: string, flag: string): Promise<NoSyncFile<this>>;
|
|
199
199
|
}
|
|
200
200
|
export declare abstract class AsyncIndexFS<TData> extends IndexFS<TData> {
|
|
201
|
-
protected statFileInodeSync(): Stats;
|
|
202
|
-
protected openFileInodeSync(): NoSyncFile<this>;
|
|
201
|
+
protected statFileInodeSync(inode: IndexFileInode<TData>, path: string): Stats;
|
|
202
|
+
protected openFileInodeSync(inode: IndexFileInode<TData>, path: string, flag: string): NoSyncFile<this>;
|
|
203
203
|
}
|
|
204
204
|
export {};
|
|
@@ -399,10 +399,10 @@ export class SyncIndexFS extends IndexFS {
|
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
401
|
export class AsyncIndexFS extends IndexFS {
|
|
402
|
-
statFileInodeSync() {
|
|
403
|
-
throw
|
|
402
|
+
statFileInodeSync(inode, path) {
|
|
403
|
+
throw ApiError.With('ENOSYS', path, 'AsyncIndexFS.statFileInodeSync');
|
|
404
404
|
}
|
|
405
|
-
openFileInodeSync() {
|
|
406
|
-
throw
|
|
405
|
+
openFileInodeSync(inode, path, flag) {
|
|
406
|
+
throw ApiError.With('ENOSYS', path, 'AsyncIndexFS.openFileInodeSync');
|
|
407
407
|
}
|
|
408
408
|
}
|