| [Overview][Constants][Types][Procedures and functions][Variables][Index] |
Removes duplicate path delimiters and resolves . and ..
Source position: lazfileutils.pas line 60
function ResolveDots( |
const AFilename: string |
):string; |
This function shortens duplicate path delimiters to single path delimiters. It resolves 'A/../B' to 'B', which might be wrong under Unix if A is a symlink. The functions does not check the file system. The single dot './A' is resolved to 'A', but a single '.' is retained.
| lazarus-ccr.sourceforge.net |