(scope?: MemoryScope)
| 216 | } |
| 217 | |
| 218 | export function formatMemoryScopeText(scope?: MemoryScope): string { |
| 219 | if (!scope || scope.kind === 'global') return ''; |
| 220 | if (scope.kind === 'file') { |
| 221 | return scope.file; |
| 222 | } |
| 223 | return `${scope.file} ${scope.symbol}`; |
| 224 | } |
| 225 | |
| 226 | export function buildMemoryIdentityParts(memory: { |
| 227 | type: MemoryType; |
no outgoing calls
no test coverage detected