Alien-SVN

 view release on metacpan or  search on metacpan

src/subversion/subversion/bindings/swig/perl/native/Wc.pm  view on Meta::CPAN

use strict;
use warnings;

package SVN::Wc;
use SVN::Base qw(Wc svn_wc_);
use SVN::Core;

=head1 NAME

SVN::Wc - Subversion working copy functions

=head1 SYNOPSIS

Incomplete

=cut

swig_init_asp_dot_net_hack($SVN::Core::gpool);

=head1 FUNCTIONS

=over 4

=item SVN::Wc::parse_externals_description3($parent_directory, $desc, $canonicalize_url, $pool);

Parse the string $desc as an C<svn:externals> value and return a reference 
to an array of L<_p_svn_wc_external_item2_t|svn_wc_external_item2_t> objects. 
If $canonicalize_url is true, canonicalize the C<url> member of those objects.  
$parent_directory is only used in constructing error strings.

=back

=cut

=head1 OBJECTS

=cut

package _p_svn_wc_t;

=head2 svn_wc_status2_t

=over 4

=item $wcstat-E<gt>entry()

A svn_wc_entry_t object for the item.  Can be undef if not under version
control.

=item $wcstat-E<gt>text_status()

An integer representing the status of the item's text.  Can be one of the
$SVN::Wc::Status::* constants.

=item $wcstat-E<gt>prop_status()

An integer representing the status of the item's properties.  Can be one of the
$SVN::Wc::Status::* constants.

=item $wcstat-E<gt>locked()

A boolean telling if the item is locked.  A directory can be locked if a
working copy update was interrupted.

=item $wcstat-E<gt>copied()

A boolean telling if the item was copied.  A file or directory can be copied if
it's scheduled for addition-with-history (or part of a subtree that is
scheduled as such).

=item $wcstat-E<gt>switched()

A boolean telling if the item was switched.  A file or directory can be
switched if the switch command has been used.

=item $wcstat-E<gt>repos_text_status()

An integer representing the status of the item's text in the repository.  Can
be one of the $SVN::Wc::Status::* constants.


=item $wcstat-E<gt>repos_prop_status()

An integer representing the status of the item's properties in the repository.
Can be one of the $SVN::Wc::Status::* constants.

=item $wcstat-E<gt>repos_lock()

A svn_lock_t object representing the entry's lock in the repository, if any.

=item $wcstat-E<gt>url()

The url (actual or expected) of the item.

=item $wcstat-E<gt>ood_last_cmt_rev()

An integer representing the youngest committed revision or $SVN::Core::INVALID_REVNUM is not out of date.

=item $wcstat-E<gt>ood_last_cmt_date()

The date of the most recent commit as microseconds since 00:00:00 January 1, 1970 UTC or 0 if not out of date.

=item $wcstat-E<gt>ood_kind()

An integer representing the kind of the youngest commit.  Can be any of the $SVN::Node::* constants.  Will be $SVN::Node::none if not out of date.

=item $wcstat-E<gt>tree_conflict()

A svn_wc_conflict_description_t object if the entry is the victim of a tree conflict or undef.

=item $wcstat-E<gt>file_external()

A boolean telling if the item is a file that was added to the working copy as an svn:externals.  If file_external is TRUE, then switched is always FALSE.

=item $wcstat-E<gt>pristine_text_status()

An integer representing the status of the item's text as compared to the pristine base of the file.  Can be one of the $SVN::Wc::Status::* constants.

=item $wcstat-E<gt>pristine_prop_status()

An integer representing the status of the item's properties as compared to the pristine base of the node.  Can be one of the $SVN::Wc::Status::* constants.



( run in 0.936 second using v1.01-cache-2.11-cpan-39bf76dae61 )