Use path.Join to create the s3 object name within the bucket.
Use path.Join to create the s3 object name within the bucket.

path.Join already automatically skips empty path segments when
joining, so this simplifies the s3Path code.

stuertz/restic,restic/restic,fawick/restic,byo/restic,ar-jan/restic,middelink/restic,byo/restic,kurin/restic,restic/restic,stuertz/restic,kurin/restic,jayme-github/restic,ar-jan/restic,arithmetric/restic,jayme-github/restic,fawick/restic,middelink/restic