[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: New FS API, open_path, cloning and dag_node_t

From: Branko Čibej <brane_at_xbc.nu>
Date: 2001-02-14 18:38:45 CET

Jim Blandy wrote:

> But otherwise, I think your suggestion is a very good one. The path
> traversal function should simply return a linked list of dag nodes and
> directory entry names. Since we build and use it as part of a single
> trail, we don't need to worry about other processes changing parents
> while we work, so the structure could be very simple. It would help
> write functions like delete,

Believe it or not, delete is exactly what I was working on when I
realized we'll need open_path.

> which want to know that the entry
> actually exists, but only affect the parent. And it provides a
> natural basis for a cloning function.

Exactly. Without this list we'd be traversing the path and opening the
same nodes again all over the place; a waste of time.

-- 
Brane �ibej
    home:   <brane_at_xbc.nu>             http://www.xbc.nu/brane/
    work:   <branko.cibej_at_hermes.si>   http://www.hermes-softlab.com/
     ACM:   <brane_at_acm.org>            http://www.acm.org/
Received on Sat Oct 21 14:36:22 2006

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.