Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6569

TarFiles should uniformly use TAR file names instead of paths

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.7, 1.8.0
    • segment-tar
    • None

    Description

      TarFiles#getIndices return full paths to identify the TAR files, while TarFiles#getGraph accepts TAR file names instead of full paths as an argument. This asymmetry in the API of TarFiles forces the user to convert between full paths and file names. Moreover, it leaks the location of the file store on disk, which is irrelevant to the users of TarFiles.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            frm Francesco Mari
            frm Francesco Mari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment