(baseMountPath, logicalPath string)
| 262 | } |
| 263 | |
| 264 | func joinRemotePathWithBase(baseMountPath, logicalPath string) string { |
| 265 | logicalPath = utils.FixAndCleanPath(logicalPath) |
| 266 | if utils.PathEqual(logicalPath, "/") { |
| 267 | return utils.FixAndCleanPath(baseMountPath) |
| 268 | } |
| 269 | return path.Join(utils.FixAndCleanPath(baseMountPath), logicalPath) |
| 270 | } |
| 271 | |
| 272 | func (d *Chunker) joinRemotePath(logicalPath string) string { |
| 273 | return joinRemotePathWithBase(d.RemotePath, logicalPath) |
no test coverage detected