GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SVK::Editor::Rename(3) User Contributed Perl Documentation SVK::Editor::Rename(3)

SVK::Editor::Rename - An editor that translates editor calls for renamed entries

  $editor = SVK::Editor::Rename->new
    ( editor => $next_editor,
      rename_map => \@rename_map
    );

Given the rename_map, which is a list of [from, to] pairs for translating path in editor calls, "SVK::Editor::Rename" serialize the calls and rearrange them for making proper calls to $next_editor.

The translation of pathnames is done with iterating through the @rename_map, translate with the first match. Translation is redone untill no match is found.

"SVK::Editor::Rename" is a subclass of "SVK::Editor::Patch", which serailizes incoming editor calls. Each baton opened is recorded in "$self-"{opened_baton}>, which could be use to lookup with path names.

When a path is opened that should be renamed, it's recorded in "$self-"{renamed_anchor}> for reanchoring the renamed result to proper parent directory before calls are emitted to $next_editor.

2008-08-05 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.