Re: Rox's directory caching

"Thomas Leonard" <[email protected]> Wed, 13 Aug 2008 21:21:22 +0100
Newsgroups gmane.comp.desktop.rox.devel
Message-ID <[email protected]>
2008/8/13 Lennon Cook <[email protected]>:
> rox-filer currently caches the contents of directories, including MIME
> types, for a certain amount of time.

I haven't looked at the code for a while, but I don't remember it
doing that. If it re-reads a directory (which it will do when it
detects a change) it should work out the type again. The talk of
'caches' in the xdgmime code is (I think) about caching the MIME
database rather than the results.

I opened a filer window and then, in an xterm, did:

$ touch test
$ rm test; echo '#!/usr/bin/env python' > test

It updates from text to Python right away here (Linux).


-- 
Dr Thomas Leonard	ROX desktop / Zero Install
GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/