native::Ra(3)

NAME
SVN::Ra - Subversion remote access functions

SYNOPSIS
    require SVN::Core;
    require SVN::Ra;
    my $ra = SVN::Ra->new ('file:///tmp/svmtest');
    print $ra->get_latest_revnum ();

DESCRIPTION
SVN::Ra wraps the object-oriented svn_ra_plugin_t functions.

SVN::Ra

  CONSTRUCTOR - new (...)
The method creates an RA object and calls "open" for it. It takes a hash array as parameter. if there's only one argument supplied, it's used as the url. valid keys are:

url
auth
    An auth_baton could be given to the SVN::RA object. Default to a auth_provider with a username_provider. See SVN::Client for how to create auth_baton.

pool
    The pool for the ra session to use, and also the member functions will be called with this pool. Default to a newly created root pool.

config
    The config hash that could be obtained by SVN::Core::config_get_config(undef).

callback
    The ra_callback namespace to use. Default to SVN::Ra::Callback.

  METHODS
Please consult the svn_ra.h section in the Subversion API. Member functions of svn_ra_plugin_t could be called as methods of SVN::Ra objects, with the session_baton and pool omitted.

SVN::Ra::Reporter
the SVN::Ra methods: do_diff, do_status, do_switch, do_update, returns a SVN::Ra::Reporter object as a wrapper of svn_ra_reporter_t. You can use the member functions of it as methods of SVN::Ra::Reporter, with the reporter_baton omitted.

SVN::Ra::Callbacks
This is the wrapper class for svn_ra_callback_t. To supply custom callback to SVN::Ra, subclass this class and override the member functions.

AUTHORS
Chia-liang Kao <clkao@clkao.org>

COPYRIGHT
Copyright (c) 2003 CollabNet. All rights reserved.

This software is licensed as described in the file COPYING, which you should have received as part of this distribution. The terms are also available at http://subversion.tigris.org/license-1.html. If newer versions of this license are posted there, you may use a newer version instead, at your option.

This software consists of voluntary contributions made by many individuals. For exact contribution history, see the revision history and logs, available at http://subversion.tigris.org/.