MCPcopy
hub / github.com/gaotianliuyun/gao / detail

Function detail

cat/js/yiso_open.js:55–63  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

53}
54
55async function detail(id) {
56 try {
57 let matches = id.match(patternAli);
58 if (!_.isEmpty(matches)) return await detailContent(matches[0]);
59 return '';
60 } catch (e) {
61 await log('detail:' + e.message + ' line:' + e.lineNumber);
62 }
63}
64
65async function play(flag, id, flags) {
66 try {

Callers

nothing calls this directly

Calls 2

detailContentFunction · 0.90
logFunction · 0.90

Tested by

no test coverage detected