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

Re: MIME type meta-data

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-03-06 22:42:12 CET

Matthew Hambley wrote:

>Replying to my own post to keep the thread whole.
>
>Do I detect that a consensus is forming?
>
>It looks like the general feeling is:
>
>a) This is something people would like to see
>b) There is going to be an element of platform dependent code involved
>c) It is to be implemented client side although it may migrate later
>
I think that's a "yes" for all three items.

>In which case I'd like to take a crack at it. Where would people who know
>the source better than I recommend the platform dependent code should go.
>Should I put it in svn_io_detect_mimetype in libsvn_subr/io.c or should it
>go somewhere else and be called from io.c?
>
>
Look at how we're handling the config file stuff in libsvn_subr
(config.c, config_file.c and the completely Win32-specific
config_win.c). I expect the mime type handling could be abstracted even
more -- keep the implementations in separate files for each platform.
I'd prefer that to huge #ifdefs in io.c.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 6 22:42:56 2003

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.