MCPcopy Index your code
hub / github.com/nodeSolidServer/node-solid-server / getDirectory

Method getDirectory

lib/acl-checker.mjs:164–168  ·  view source on GitHub ↗
(aclFile)

Source from the content-addressed store, hash-verified

162 }
163
164 static getDirectory (aclFile) {
165 const parts = aclFile.split('/')
166 parts.pop()
167 return `${parts.join('/')}/`
168 }
169
170 // Gets any ACLs that apply to the resource
171 // DELETE uses docAcl when docAcl is parent to the resource

Callers 2

canMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected