buildrelease
[openafs-wiki.git] / TWiki / TWikiStoreRcsWrapDotPm.mdwn
1 # <a name="Package &lt;code&gt;TWiki::Store::_RcsWrap="></a> Package =TWiki::Store::RcsWrap
2
3 **extends** <tt>[[TWiki::Store::RcsFile|Main/TWikiStoreRcsFileDotPm]]</tt>
4
5 This package does not publish any methods. It implements the virtual methods of the [[TWiki::Store::RcsFile|Main/TWikiStoreRcsFileDotPm]] superclass.
6
7 Wrapper around the RCS commands required by TWiki. There is one of these object for each file stored under RCS.
8
9 <div>
10   <ul>
11     <li><a href="#Package =TWiki::Store::_RcsWrap="> Package TWiki::Store::RcsWrap</a><ul>
12         <li><a href="#StaticMethod *parse_RevisionDiff"> StaticMethod parseRevisionDiff <tt>($text) -&gt; \@diffArray</tt></a></li>
13       </ul>
14     </li>
15   </ul>
16 </div>
17
18 ## <a name="StaticMethod &lt;strong&gt;parse_RevisionDiff"></a> [[StaticMethod]] \*parseRevisionDiff `($text) -> \@diffArray`
19
20 <table border="1" cellpadding="0" cellspacing="0">
21   <tr>
22     <td> Description: </td>
23     <td> parse the text into an array of diff cells </td>
24   </tr>
25   <tr>
26     <td> #Description: </td>
27     <td> 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) </td>
28   </tr>
29   <tr>
30     <td> Parameter: <code>$text</code></td>
31     <td> currently unified or rcsdiff format </td>
32   </tr>
33   <tr>
34     <td> Return: <code>\@diffArray</code></td>
35     <td> reference to an array of [ diffType, $right, $left ] </td>
36   </tr>
37   <tr>
38     <td> TODO: </td>
39     <td> move into [[Main/RcsFile]] and add indirection in Store </td>
40   </tr>
41 </table>