r2 - 25 Jun 2006 - 16:26:33 - TWikiContributorYou are here: TWiki >  TWiki Web  > TWikiStoreRcsWrapDotPm

Package TWiki::Store::RcsWrap

extends TWiki::Store::RcsFile

This package does not publish any methods. It implements the virtual methods of the TWiki::Store::RcsFile superclass.

Wrapper around the RCS commands required by TWiki. There is one of these object for each file stored under RCS.

ObjectMethod finish

Complete processing after the client's HTTP request has been responded to.
  1. breaking circular references to allow garbage collection in persistent environments

StaticMethod parseRevisionDiff ($text) -> \@diffArray

Description: parse the text into an array of diff cells
#Description: unlike Algorithm::Diff I concatinate lines of the same diffType that are sqential (this might be something that should be left up to the renderer)
Parameter: $text currently unified or rcsdiff format
Return: \@diffArray reference to an array of [ diffType, $right, $left ]
TODO: move into RcsFile? and add indirection in Store

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © 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.TWikiStoreRcsWrapDotPm