* Converts a provider-relative path back to a mounted path. * If not mounted, returns the path as-is. * @param {string} providerPath The provider-relative path * @returns {string} The mounted path
(providerPath)
| 207 | * @returns {string} The mounted path |
| 208 | */ |
| 209 | #toMountedPath(providerPath) { |
| 210 | if (this[kMounted] && this[kMountPoint]) { |
| 211 | return path.join(this[kMountPoint], providerPath); |
| 212 | } |
| 213 | return providerPath; |
| 214 | } |
| 215 | |
| 216 | // ==================== FS Operations (Sync) ==================== |
| 217 |
no test coverage detected