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

Add ​canonicalFilePath function

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 1.13.0
    • 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

        Activity

          People

            jbornema Joerg Bornemann
            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