[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.
- Inherit
_RCS
inherit Parser._RCS : _RCS
- Variable
head
string Parser.RCS.head
- Description
Version number of the head version of the file.
- Variable
branch
string|int(0..0) Parser.RCS.branch
- Description
The default branch (or revision), if present, 0 otherwise.
- Variable
access
array(string) Parser.RCS.access
- Description
The usernames listed in the ACCESS section of the RCS file.
- Variable
comment
string|int(0..0) Parser.RCS.comment
- Description
The RCS file comment if present, 0 otherwise.
- Variable
expand
string Parser.RCS.expand
- Description
The keyword expansion options (as named by RCS) if present,
0 otherwise.
- Variable
description
string Parser.RCS.description
- Description
The RCS file description.
- Variable
locks
mapping(string:string) Parser.RCS.locks
- Description
Maps from username to revision for users that have acquired locks
on this file.
- Variable
strict_locks
int(0..1) Parser.RCS.strict_locks
- Description
1 if strict locking is set, 0 otherwise.
- Variable
tags
mapping(string:string) Parser.RCS.tags
- Description
Maps tag names (indices) to tagged revision numbers (values).
- Note
This mapping typically contains raw revision numbers for branches
(ie "1.1.0.2" and not "1.1.2" ).
- Variable
branches
mapping(string:string) Parser.RCS.branches
- Description
Maps branch numbers (indices) to branch names (values).
- Note
The indices are short branch revision numbers (ie "1.1.2"
and not "1.1.0.2" ).
- Variable
revisions
mapping(string: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(Revision) 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).
- Variable
rcs_file_name
string Parser.RCS.rcs_file_name
- Description
The filename of the RCS file as sent to create() .
|