[openbeosstorage] Re: BDirectory <-> BEntry

On Tue, 9 Apr 2002, Tyler Dauwalder wrote:

> > BEntry::SetTo(const BDirectory *dir, const char *path, bool traverse).
> > Since BDirectory::FindEntry() offers the same functionality, I suggest to
> > move the actual implementation into the latter. I would do that, as soon
> > as I start with the class implementation of BDirectory, which might be
> > in a couple days from now.
> 
> Yeah, that would make sense. Go for it.

Argh, well, apparently I was wrong. The functionality differs in that
BDirectory::FindEntry() finds only actually existing entries, whereas
BEntry::SetTo() requires only the entry's parent directory to exist,
whereas the entry itself don't need to be (abstract entry).

So I will touch BEntry::SetTo() only to substitute the access of private
member variables by functions.

CU, Ingo


Other related posts: