Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
Description
There is no way to get canonical path of file.
Function "canonicalFilePath(path)" should be added to FIleInfo or File module.
Behaviour same as QFuleInfo::canonicalFilePath.
Function should returns the canonical path including the file name, i.e. an absolute path without symbolic links or redundant "." or ".." elements.
If the file does not exist, canonicalFilePath() returns an empty string.
Attachments
For Gerrit Dashboard: QBS-742 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
248658,4 | Add FileInfo.canonicalPath | master | qbs/qbs | Status: MERGED | +2 | 0 |