Feature Proposals » TWiki::Func::renameFile() to be introduced?

Motivation

In a plugin, I need to rename a file currently being handled with TWiki::Func::saveFile().

Description and Documentation

I can rename a file with the rename() built-in function. but given TWiki::Func::saveFile() and TWiki::Func::readFile(), having and and using TWiki::Func::renameFile() seems better. What do you guys think?

Examples

Impact

Implementation

-- Contributors: Hideyo Imazu - 2020-01-22

Discussion

Sensible enhancement.

-- Peter Thoeny - 2020-01-22

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2020-01-29 - HideyoImazu
 
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.