canonicalize-path: Filesystem Path Canonicalization
(require canonicalize-path) | package: canonicalize-path |
1 Introduction
/tmp/ |
|-- a/ |
| |-- b1/ |
| | `-- s -> ../b2/c/f |
| `-- b2/ |
| `-- c/ |
| `-- f |
`-- x/ |
`-- y -> ../a |
> (canonicalize-path "y/b1/s")
2 Interface
3 Known Issues
Needs more testing, especially on non-Unix-like systems.
4 History
- Version 1:0 —
2016-02-26 Initial version, using code from author’s 2012 path-misc package.
5 Legal
Copyright 2012, 2016 Neil Van Dyke. This program is Free Software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See http://www.gnu.org/licenses/ for details. For other licenses and consulting, please contact the author.