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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2017/09/14 13:03:02 UTC

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

     [ https://issues.apache.org/jira/browse/OAK-6569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davide Giannella closed OAK-6569.
---------------------------------

Bulk close for 1.7.7

> 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)