We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e45888 commit 8148b1dCopy full SHA for 8148b1d
1 file changed
lib/ldp.js
@@ -392,7 +392,7 @@ class LDP {
392
if (stats.isDirectory()) {
393
return this.deleteContainer(path)
394
} else {
395
- return this.deleteResource(path)
+ return this.deleteDocument(path)
396
}
397
398
@@ -422,8 +422,8 @@ class LDP {
422
423
424
425
- // delete resource with acl and meta links
426
- async deleteResource (path) {
+ // delete document (resource with acl and meta links)
+ async deleteDocument (path) {
427
const linkPath = this.resourceMapper._removeDollarExtension(path)
428
try {
429
// first delete file, then links with write permission only (atomic delete)
0 commit comments