[openbeosstorage] Re: BDirectory <-> BEntry

> > > 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.

Okay, that's fine. That's actually what I thought you were talking
about originally (I guess I didn't read closely enough...).

-Tyler



Other related posts: