@zenfs/core 0.9.0 → 0.9.1

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.
@@ -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 new ApiError(ErrorCode.ENOTSUP);
402
+ statFileInodeSync(inode, path) {
403
+ throw ApiError.With('ENOSYS', path, 'AsyncIndexFS.statFileInodeSync');
404
404
  }
405
- openFileInodeSync() {
406
- throw new ApiError(ErrorCode.ENOTSUP);
405
+ openFileInodeSync(inode, path, flag) {
406
+ throw ApiError.With('ENOSYS', path, 'AsyncIndexFS.openFileInodeSync');
407
407
  }
408
408
  }