(absolutePath: string)
| 272 | * false for it. |
| 273 | */ |
| 274 | export function isAutoMemPath(absolutePath: string): boolean { |
| 275 | // SECURITY: Normalize to prevent path traversal bypasses via .. segments |
| 276 | const normalizedPath = normalize(absolutePath) |
| 277 | return normalizedPath.startsWith(getAutoMemPath()) |
| 278 | } |
| 279 |
no test coverage detected