jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Guggisberg <stefan.guggisb...@gmail.com>
Subject Re: [j3 Microkernel] commit method
Date Mon, 12 Dec 2011 09:36:05 GMT
On Fri, Dec 9, 2011 at 3:13 PM, Michael Dürig <mduerig@apache.org> wrote:
>
> Hi,
>
> Currently the commit method look like this:
>
> String commit(String path, String jsonDiff, String revisionId, String
> message)
>
> The path argument has to be an absolute path and the paths of the jsonDiff
> operations are relative paths. The target path of the operations are
> determined by concatenating the path with the paths of the jsonDiff
> operations.
>
> To facilitate the usage of this API where only absolute paths are involved,
> I suggest to expand the scope of the commit method such that the empty
> string (or null?) is allowed for the path argument. In this case all
> jsonDiff operations need to specify an absolute path.

sounds reasonable. probably easy to support, i'll check the current
implementation.

cheers
stefan

>
> Michael

Mime
View raw message