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

Method isAuxResource

lib/ldp.mjs:170–176  ·  view source on GitHub ↗
(slug, extension)

Source from the content-addressed store, hash-verified

168 }
169
170 isAuxResource (slug, extension) {
171 let test = false
172 for (const item in AUXILIARY_RESOURCES) {
173 if (slug.endsWith(AUXILIARY_RESOURCES[item]) || extension === AUXILIARY_RESOURCES[item]) { test = true; break }
174 }
175 return test
176 }
177
178 /**
179 * Serializes and writes a graph to the given uri, and returns the original

Callers 1

postMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected