FreeBSD Manual Pages
VCP::Revs(3) User Contributed Perl Documentation VCP::Revs(3) NAME VCP::Revs - A collection of VCP::Rev objects. SYNOPSIS DESCRIPTION Right now, all revs are kept in memory, but we will enable storing them to disk and recovering them at some point so that we don't gobble huge tracts of RAM. METHODS new add $revs->add( $rev ) ; $revs->add( $rev1, $rev2, ... ) ; Adds a revision or revisions to the collection. The ( name, rev_id, branch_id ) tuple must be unique, if a second rev is "add()"ed with the same values, an exception is thrown. get $rev = $revs->get( $id ) ; ## return the rev with a given ID (or die()) foreach $revs->foreach( sub { ... } ); Apply a subroutine to each revision. SUBCLASSING This class uses the fields pragma, so you'll need to use base and possibly fields in any subclasses. COPYRIGHT Copyright 2000, Perforce Software, Inc. All Rights Reserved. This module and the VCP package are licensed according to the terms given in the file LICENSE accompanying this distribution, a copy of which is included in vcp. AUTHOR Barrie Slaymaker <barries@slaysys.com> perl v5.32.0 2004-11-04 VCP::Revs(3)
NAME | SYNOPSIS | DESCRIPTION | METHODS | SUBCLASSING | COPYRIGHT | AUTHOR
Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=VCP::Revs&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>