* Checks if a path should be handled by this VFS. * @param {string} inputPath The path to check (must be absolute & normalized) * @returns {boolean}
(inputPath)
| 174 | * @returns {boolean} |
| 175 | */ |
| 176 | shouldHandle(inputPath) { |
| 177 | if (!this[kMounted] || !this[kMountPoint]) { |
| 178 | return false; |
| 179 | } |
| 180 | const normalized = isAbsolute(inputPath) ? inputPath : resolvePath(inputPath); |
| 181 | return isUnderMountPoint(normalized, this[kMountPoint]); |
| 182 | } |
| 183 | |
| 184 | // ==================== Path Resolution ==================== |
| 185 |
no test coverage detected