You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Francesco Mari (JIRA)" <ji...@apache.org> on 2017/08/22 09:26:00 UTC

[jira] [Created] (OAK-6569) TarFiles should uniformly use TAR file names instead of paths

Francesco Mari created OAK-6569:
-----------------------------------

             Summary: TarFiles should uniformly use TAR file names instead of paths
                 Key: OAK-6569
                 URL: https://issues.apache.org/jira/browse/OAK-6569
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: segment-tar
            Reporter: Francesco Mari
            Assignee: Francesco Mari
             Fix For: 1.8, 1.7.7


{{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}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)