courtesy of the swift standard library team's michael ilseman, who's been working on standardizing our FilePath type, here's more than you ever wanted to know about how (POSIX) path types work in a bunch of languages https://gist.github.com/milseman/c22a0413dee131719fd51407e3ee7c8b
Synthesis cross language comparison for trailing slash

Synthesis cross language comparison for trailing slash - synthesis_path.md

Gist
@joe frankly I'm ready to get rid of the filesystem entirely. what a mistake it's been