Difference: TWikiStoreDotPm (4 vs. 5)

Revision 52007-02-05 - TWikiContributor

Line: 51 to 51
 
Added:
>
>

ObjectMethod _findAttachments ($session,$web,$topic,$knownAttachments) -> @attachmentsFoundInPub

Synchronise the attachment list with what's actually on disk Returns an ARRAY of FILEATTACHMENTs. These can be put in the new meta using meta->put('FILEATTACHMENTS', $tree)

This function is only called when the AutoAttachPubFiles configuration option is set.

IDEA On Windows machines where the underlying filesystem can store arbitary meta data against files, this might replace/fulfil the COMMENT purpose

TODO consider logging when things are added to metadata

 

ObjectMethod readTopicRaw ($user,$web,$topic,$version) -> $topicText

Reads the given version of a topic, without separating out any embedded

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiStoreDotPm.