(...args)
| 403 | // UNC Path Validation Functions |
| 404 | function isUncPath(path) { |
| 405 | if (!path || typeof path !== 'string') { |
| 406 | return false; |
| 407 | } |
| 408 | // UNC paths on Windows start with \\ |
| 409 | // They cannot be local drive paths (C:\, D:\, etc.) |
| 410 | return path.startsWith('\\\\') && !/^[A-Za-z]:/.test(path); |
| 411 | } |
| 412 |
no outgoing calls
no test coverage detected