[Zope-dev] Cataloging "LocalFS" content

Rik Hoekstra rik.hoekstra@inghist.nl
Tue, 30 May 2000 22:01:08 +0200


>> I think, cataloging "LocalFS" content would be nice.
>>
>> I have the following problems with it:
>>
>>  1. "LocalFS" defines various meta types:
>>     "Local File System", "Local Directory" and "Local File".
>>
>>     Only "Local File System" is a "true" meta type which
>>     should appear in the available objects list of ObjectManager's.
>>
>>     However, I may well be useful, to select the others, too,
>>     in for "find" and cataloging.
>
>This could be done, but my concern is that when changes are made to the
file
>system this will cause the catalog to be out of synch until you re-index.
How
>does this work with Zope objects? If you move or delete a Zope object that
is
>cataloged does it automatically update the catalog?


Only if it is 'Catalog Aware', otherwise you'll have to update it manually.
In the case of LocalFS this will always be the only way.

Rik