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