MCPcopy Create free account
hub / github.com/LinkedDataFragments/Server.js / triple

Function triple

lib/datasources/IndexDatasource.js:31–34  ·  view source on GitHub ↗
(subject, predicate, object, isLiteral)

Source from the content-addressed store, hash-verified

29 }
30 }
31 function triple(subject, predicate, object, isLiteral) {
32 if (subject && predicate && object)
33 addTriple(subject, predicate, isLiteral ? '"' + object + '"' : object);
34 }
35 delete this._datasources;
36 done();
37};

Callers 1

IndexDatasource.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected