CBL_CopyDatabase fails if fromPath does not have trailing path separator

Couchbase Lite C SDK: 3.0.2

On non-Apple platforms, CBL_CopyDatabase fails if the fromPath does not end with a path separator.

For more context, please see this issue: Database.copy throwing an error · Issue #444 · cbl-dart/cbl-dart · GitHub

Thanks! I’ve filed CBL-4020 for this, but given the proximity to code complete it might not be in the 3.1.0 release.

Thanks! Fortunately, there’s an easy workaround.