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

Re: Are svn_fs_dir_t and svn_fs_file_t worth it?

From: Karl Fogel <kfogel_at_galois.collab.net>
Date: 2000-11-09 14:46:58 CET

Jim Blandy <jimb@savonarola.red-bean.com> writes:
> [...]
>
> So I think I'd like to eliminate svn_fs_dir_t and svn_fs_file_t, and
> use svn_fs_node_t throughout. It would make svn_fs_node_t more like
> Unix file descriptors --- a uniform way to reference whatever's out
> there.
>
> What do folks think? Greg, I'm especially interested in your opinion,
> since you've actually written code that uses the fs interface.

I haven't had to use the code, so my opinion is more or less
groundless here :-), but what you propose sounds like a good idea.

There's no single answer in these situations, I guess. When the
commonalities begin to outweigh the differences, at some point it
makes sense to always use the same data structure and just have a type
bit. It sounds like that point has been reached with fs nodes.
Received on Sat Oct 21 14:36:14 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.