(name, file)
| 1269 | } |
| 1270 | |
| 1271 | function getCacheKey(name, file) { |
| 1272 | if (file?.path) { |
| 1273 | if (file.path.includes(path.join('pages', 'react-aria', 'internationalized'))) { |
| 1274 | return `intl:${name}`; |
| 1275 | } else if (file.path.includes(path.join('pages', 'react-aria'))) { |
| 1276 | return `rac:${name}`; |
| 1277 | } else if (file.path.includes(path.join('pages', 's2'))) { |
| 1278 | return `s2:${name}`; |
| 1279 | } |
| 1280 | } |
| 1281 | return `default:${name}`; |
| 1282 | } |
| 1283 | |
| 1284 | function getDocsImportSource(identifier, file) { |
| 1285 | return file?.data?.docsImports?.[identifier] || null; |
no outgoing calls
no test coverage detected