MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / getNodeSource

Function getNodeSource

packages/cli/lib/ast-helper.js:56–58  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

54 return null;
55
56 function getNodeSource(node) {
57 return fileContent.slice(node.pos, node.end).trim();
58 }
59};
60
61const MODEL_ID_QUERIES = {

Callers 1

ast-helper.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected