Copyright © (C) 2020, Martin Keegan
Authors: Martin Keegan (martin@no.ucant.org).
canonicalise/1 | Return a canonicalised pathname, having resolved symlinks to their destination. |
normalise/1 | Return a path where the use of ".." to indicate parent directory has been resolved. |
canonicalise(Path::string()) -> {ok, string()} | {error, atom()}
Return a canonicalised pathname, having resolved symlinks to their destination. Modelled on realpath(3).
normalise(S::list()) -> {ok, string()} | {error, atom()}
Return a path where the use of ".." to indicate parent directory has been resolved. Currently does not accept relative paths.
Generated by EDoc