Tags:
create new tag
view all tags

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

Summary

Current State: Developer: Reason: Date: Concerns By: Bug Tracking: Proposed For:
AcceptedProposal HideyoImazu AcceptedBy7DayFeedbackPeriod 2020-01-22   TWikibug:Item7880 LimaRelease

Edit Form

TopicSummary:
CurrentState:
CommittedDeveloper:
ReasonForDecision:
DateOfCommitment:   Format: YYYY-MM-DD
ConcernRaisedBy:
BugTracking:
OutstandingIssues:
RelatedTopics:
InterestedParties:
ProposedFor:
TWikiContributors:
 

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
 
  • Learn about TWiki  
  • Download TWiki
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.