Open naturallymitchell opened 5 years ago
fs::canonicalize
is implemented in which can be used for absolute path
. I just rebase one of my branches and will be pushing in a few
Implemented in https://github.com/foundpatterns/torchbear/commit/47024c60f3334a683f33f547cdc32c2cbd6d7e74
Leaving issue open for a short time in case there is any comments on it.
basename https://doc.rust-lang.org/std/path/struct.Path.html#method.file_stem
absolute path https://github.com/foundpatterns/gut/blob/558f361eb62de566deecb883ef3b78307ccb6476/extras.lua#L19-L27 https://ruby-doc.org/core-2.5.3/File.html#method-c-expand_path
see also #1