Extracted from Pike v7.3 release 16 at 2002-03-05.
pike.roxen.com
[Top]
Parser
Parser.RCS

Class Parser.RCS

Description

A RCS file parser that eats a RCS *,v file and presents nice pike data structures of its contents.


string Parser.RCS()->head
string Parser.RCS()->branch
array(string) Parser.RCS()->access
int Parser.RCS()->strict_locks
string Parser.RCS()->comment
string Parser.RCS()->expand
string Parser.RCS()->description


Variable locks

mapping(string:string) Parser.RCS()->locks

Description

Maps from username to revision for users that have aquired locks on this file.


Variable tags

mapping(string:string) Parser.RCS()->tags

Description

Maps tag names (indices) to tagged revision numbers (values).


Variable branches

mapping(string:string) Parser.RCS()->branches

Description

Maps branch numbers (indices) to branch names (values).


Variable revisions

mapping(string:object(Revision)) Parser.RCS()->revisions

Description

Data for all revisions of the file. The indices of the mapping are the revision numbers, whereas the values are the data from the corresponding revision.


Variable trunk

array(mapping) Parser.RCS()->trunk

Description

Data for all revisions on the trunk, sorted in the same order as the RCS file stored them - ie descending, most recent first, I'd assume (rcsfile(5), of course, fails to state such irrelevant information).