MCPcopy
hub / github.com/agalwood/Motrix / splitTaskLinks

Function splitTaskLinks

src/shared/utils/index.js:501–507  ·  view source on GitHub ↗
(links = '')

Source from the content-addressed store, hash-verified

499}
500
501export function splitTaskLinks (links = '') {
502 const temp = compact(splitTextRows(links))
503 const result = temp.map((item) => {
504 return decodeThunderLink(item)
505 })
506 return result
507}
508
509export function detectResource (content) {
510 return RESOURCE_TAGS.some((type) => {

Callers 2

buildUriPayloadFunction · 0.90
needCheckCopyrightFunction · 0.85

Calls 3

splitTextRowsFunction · 0.85
decodeThunderLinkFunction · 0.85
mapMethod · 0.80

Tested by

no test coverage detected