mirror of
https://github.com/versity/versitygw.git
synced 2026-05-30 23:56:18 +00:00
Fixes #1021 `foo` and `foo/` object paths were considered as the same in `CopyObject` source and destination object paths in posix. Implements the `joinPathWithTrailer` function, which calls `filepath.Join` and adds trailing `/` if it existed in the original path. This way the implementation puts separation between directory and file objects with the same name.