Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-742

Add ​canonicalFilePath function

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.13.0
    • Labels:
      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            brerrabbit Max Tim
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes