File should support creating and detecting links

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 5.0
    • Component/s: core-libs
    • x86
    • linux

      A DESCRIPTION OF THE REQUEST :
      There should be possible to create links like by Linux/Unix/Windows ln command. It should also be possible to detect is some file link and where does it link or does it link nowhere.

      JUSTIFICATION :
      Handling links is common property, when working with files.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Following kind of methods could be used:

      File f = ...; // Actual file or directory
      File linkName = ...; // Link

      f.link(linkName);

      if (linkName.isLink()) {
          // is a link
          if (linkName.isEmptyLink()) {
              // does not link anywhere
          }
      }

            Assignee:
            Alan Bateman
            Reporter:
            Jitender S (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: