MCPcopy Index your code
hub / github.com/socketstream/socketstream / read

Function read

docs/js/docs.js:102–109  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

100 } : {};
101
102 function read(text) {
103 var files = [];
104 angular.forEach(text ? text.split(' ') : [], function(refId) {
105 // refId is index.html-343, so we need to strip the unique ID when exporting the name
106 files.push({name: refId.replace(/-\d+$/, ''), content: getEmbeddedTemplate(refId)});
107 });
108 return files;
109 }
110};
111
112

Callers 1

docs.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected