(name, file)
| 1281 | } |
| 1282 | |
| 1283 | function getCacheKey(name, file) { |
| 1284 | if (file?.path) { |
| 1285 | if (file.path.includes(path.join('pages', 'react-aria', 'internationalized'))) { |
| 1286 | return `intl:${name}`; |
| 1287 | } else if (file.path.includes(path.join('pages', 'react-aria'))) { |
| 1288 | return `rac:${name}`; |
| 1289 | } else if (file.path.includes(path.join('pages', 's2'))) { |
| 1290 | return `s2:${name}`; |
| 1291 | } |
| 1292 | } |
| 1293 | return `default:${name}`; |
| 1294 | } |
| 1295 | |
| 1296 | function getDocsImportSource(identifier, file) { |
| 1297 | return file?.data?.docsImports?.[identifier] || null; |
no outgoing calls
no test coverage detected