Feature Proposal: The plugin workarea is great but...
Motivation
... there is no way to "keep their areas tidy."
Description and Documentation
Add 3 functions:
ReadWorkareaFile,
WriteWorkareaFile, and
DeleteWorkareaFile.
The first two are trivial. The third is necessary to keep the workarea tidy but is also necessarily limited to the workarea for security reasons.
Examples
Impact and Available Solutions
Implementation
--
Contributors: MeredithLesly
Discussion
--
MeredithLesly - 24 Feb 2006
Func::getWorkArea( $pluginName ) -> $directorypath returns what's needed to use it in perl (whether as plain, simple =open=s, or a File object (
CPAN:FileHandle
),
CPAN:IO:File
, or any other method for file I/O).
--
WillNorris - 25 Feb 2006
The functions
TWiki::Func::readFile() and
TWiki::Func::saveFile() are meant to be used for that.
A
TWiki::Func::deleteFile() does not exist yet, is a useful addition.
--
PeterThoeny - 27 Feb 2006