for example, replaces TestS3{juk_h}:dir with TestS3,directory_markers=true:dir because NewFs needs the latter
(remote string)
| 2018 | // for example, replaces TestS3{juk_h}:dir with TestS3,directory_markers=true:dir |
| 2019 | // because NewFs needs the latter |
| 2020 | func (b *bisyncTest) replaceHex(remote string) string { |
| 2021 | if bilib.HasHexString(remote) { |
| 2022 | remote = strings.ReplaceAll(remote, fs.ConfigString(b.parent1), fs.ConfigStringFull(b.parent1)) |
| 2023 | remote = strings.ReplaceAll(remote, fs.ConfigString(b.parent2), fs.ConfigStringFull(b.parent2)) |
| 2024 | } |
| 2025 | return remote |
| 2026 | } |
no test coverage detected