Olivier Poitrey > Cvs > Cvs::Result::StatusItem

Download:
Cvs-0.07.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  6
Open  3
View/Report Bugs
Source  

NAME ^

Cvs::Result::StatusItem - Result class for cvs status command

DESCRIPTION ^

This class handle the cvs status result for one file.

FIELDS ^

exists

Returns a boolean value regarding on the file existence.

filename

Returns the item's filename.

basedir

Returns the item's basedir.

status

Returns the item's status.

working_revision

Returns the revision of the item you are working on.

repository_revision

Returns the revision of the item in the remote repository?

sticky_tag

Returns the sticky tag if any, undef otherwise.

sticky_date

Returns the sticky date if any, undef otherwise.

sticky_options

Returns the sticky options if any, undef otherwise.

tags

Returns the list of tags on item.

tag_type

  $status->tag_type($tag);

Returns the type of supplied tag. (revision or branch)

tag_revision

  $status->tag_type($tag);

Returns the revision of item binded with supplied tag.

METHODS ^

is_modified

Returns true if item is locally modified.

is_up2date

Returns true if item is up to date.

is_merge_needed

Returns true if item is locally and remotelly modified.This mean that a merge will be tried on the next update.

LICENCE ^

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

COPYRIGHT ^

Copyright (C) 2003 - Olivier Poitrey

syntax highlighting: