internal package Foswiki::Store::VC::RcsWrapHandler

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview

internal package Foswiki::Store::VC::RcsWrapHandler is a Foswiki::Store::VC::Handler

This class implements the pure methods of the Foswiki::Store::VC::Handler superclass. See the superclass for detailed documentation of the methods.

Wrapper around the RCS commands required by Foswiki. An object of this class is created for each file stored under RCS.

For readers who are familiar with Foswiki version 1.0, this class is analagous to the old Foswiki::Store::RcsWrap.

ObjectMethod finish()

Break circular references.

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 VC::Handler and add indirection in Store

This topic: System > WebHome > ReferenceManual > DeveloperDocumentationCategory > PerlDoc
Topic revision: 19 Apr 2011, ProjectContributor
 
This site is powered by FoswikiCopyright &© by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding BACCHUS Wiki? Send feedback