Re: Q about the delta editor interface
From: Stephen Butler <sbutler_at_elego.de>
Date: Mon, 16 Feb 2009 10:55:14 +0100
Quoting Philipp Marek <philipp.marek_at_emerion.com>:
> On Montag, 16. Februar 2009, Stephen Butler wrote:
The two functions are independent, but not exclusive.
add_directory() simply creates a directory. Before adding children
> What should I do with the baton acquired from add_directory()?
Pass it as the child_baton to open_directory(same_path,...), as the
(Disclaimer: I've written a fair bit of delta-editor consumer code,
> Wouldn't the duplicate close_directory() (on two batons) make problems?
Since there's only one baton per directory, call close_directory()
HTH,
-- Stephen Butler | Software Developer elego Software Solutions GmbH Gustav-Meyer-Allee 25 | 13355 Berlin | Germany fon: +49 30 2345 8696 | mobile: +49 163 25 45 015 fax: +49 30 2345 8695 | http://www.elegosoft.com Geschäftsführer: Olaf Wagner | Sitz der Gesellschaft: Berlin Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194Received on 2009-02-16 10:55:30 CET |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.