File tree Expand file tree Collapse file tree 3 files changed +189
-81
lines changed
Expand file tree Collapse file tree 3 files changed +189
-81
lines changed Original file line number Diff line number Diff line change @@ -539,7 +539,7 @@ class Resource {
539539 return this . #integrity;
540540 }
541541 if ( this . isDirectory ( ) ) {
542- throw new Error ( `Unable to calculate hash for directory resource: ${ this . #path} ` ) ;
542+ throw new Error ( `Unable to calculate integrity for directory resource: ${ this . #path} ` ) ;
543543 }
544544
545545 // First wait for new content if the current content is flagged as drained
Original file line number Diff line number Diff line change @@ -190,8 +190,12 @@ class ResourceFacade {
190190 return this . #resource. setStream ( stream ) ;
191191 }
192192
193- getHash ( ) {
194- return this . #resource. getHash ( ) ;
193+ getIntegrity ( ) {
194+ return this . #resource. getIntegrity ( ) ;
195+ }
196+
197+ getInode ( ) {
198+ return this . #resource. getInode ( ) ;
195199 }
196200
197201 /**
You can’t perform that action at this time.
0 commit comments