your API suggesteions sound useful.

On 2009-03-30, sebb <seb...@gmail.com> wrote:

> On 29/03/2009, sebb <seb...@gmail.com> wrote:
>> On 29/03/2009, sebb <seb...@gmail.com> wrote:
>>> The current ChangeSet API allows for:
>>>> deletion of entries by name

> The same method call is currently used for both deleting a single
> file, and for deleting a directory tree. If the string matches a file,
> it is deleted, but if it happens to match a directory name, then the
> directory and any contents are deleted.

> Both of these are useful functions, but I think they should have
> different method calls to avoid accidents.

Agreed, delete and deleteTree or something similar.

>> Forgot about "Move", which is not yet implemented.

>>  I think that should be called "Rename", unless it really means to move
>>  the entry elsewhere in the file.

Agreed as well.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to