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

Method exists

lib/ldp.mjs:359–362  ·  view source on GitHub ↗
(hostname, path, searchIndex = true)

Source from the content-addressed store, hash-verified

357 }
358
359 async exists (hostname, path, searchIndex = true) {
360 const options = { hostname, path, includeBody: false, searchIndex }
361 return await this.get(options, searchIndex)
362 }
363
364 /**
365 * Remotely loads the graph at a given uri, parses it and and returns it.

Callers 7

handlerFunction · 0.80
handlerFunction · 0.80
allowFunction · 0.80
accountUriExistsMethod · 0.80

Calls 1

getMethod · 0.95