Add path.rootname/1
Links to the external function named filename.rootname/1 as
path.rootname/1, much like the already-implemented path.basename/1.
Note: My project also
implements path.wildcard/1. I’m looking to move that to gleam_file
too when I find the time (if you’re interested). :)
Edited by Jeff Kreeftmeijer