We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c759d4 commit a60fb8aCopy full SHA for a60fb8a
3 files changed
packages/fs/lib/Resource.js
@@ -539,7 +539,7 @@ class Resource {
539
return this.#integrity;
540
}
541
if (this.isDirectory()) {
542
- throw new Error(`Unable to calculate hash for directory resource: ${this.#path}`);
+ throw new Error(`Unable to calculate integrity for directory resource: ${this.#path}`);
543
544
545
// First wait for new content if the current content is flagged as drained
packages/fs/lib/ResourceFacade.js
@@ -190,8 +190,12 @@ class ResourceFacade {
190
return this.#resource.setStream(stream);
191
192
193
- getHash() {
194
- return this.#resource.getHash();
+ getIntegrity() {
+ return this.#resource.getIntegrity();
195
+ }
196
+
197
+ getInode() {
198
+ return this.#resource.getInode();
199
200
201
/**
0 commit comments