1native::Ra(3) User Contributed Perl Documentation native::Ra(3)
2
3
4
6 SVN::Ra - Subversion remote access functions
7
9 require SVN::Core;
10 require SVN::Ra;
11 my $ra = SVN::Ra->new ('file:///tmp/svmtest');
12 print $ra->get_latest_revnum ();
13
15 SVN::Ra wraps the object-oriented svn_ra_plugin_t functions.
16
18 CONSTRUCTOR - new (...)
19
20 The method creates an RA object and calls "open" for it. It takes a
21 hash array as parameter. if there's only one argument supplied, it's
22 used as the url. valid keys are:
23
24 url
25 auth
26 An auth_baton could be given to the SVN::RA object. Default to a
27 auth_provider with a username_provider. See SVN::Client for how to
28 create auth_baton.
29
30 pool
31 The pool for the ra session to use, and also the member functions
32 will be called with this pool. Default to a newly created root
33 pool.
34
35 config
36 The config hash that could be obtained by SVN::Core::con‐
37 fig_get_config(undef).
38
39 callback
40 The ra_callback namespace to use. Default to SVN::Ra::Callback.
41
42 METHODS
43
44 Please consult the svn_ra.h section in the Subversion API. Member func‐
45 tions of svn_ra_plugin_t could be called as methods of SVN::Ra objects,
46 with the session_baton and pool omitted.
47
49 the SVN::Ra methods: do_diff, do_status, do_switch, do_update, returns
50 a SVN::Ra::Reporter object as a wrapper of svn_ra_reporter_t. You can
51 use the member functions of it as methods of SVN::Ra::Reporter, with
52 the reporter_baton omitted.
53
55 This is the wrapper class for svn_ra_callback_t. To supply custom call‐
56 back to SVN::Ra, subclass this class and override the member functions.
57
59 Chia-liang Kao <clkao@clkao.org>
60
62 Copyright (c) 2003 CollabNet. All rights reserved.
63
64 This software is licensed as described in the file COPYING, which you
65 should have received as part of this distribution. The terms are also
66 available at http://subversion.tigris.org/license-1.html. If newer
67 versions of this license are posted there, you may use a newer version
68 instead, at your option.
69
70 This software consists of voluntary contributions made by many individ‐
71 uals. For exact contribution history, see the revision history and
72 logs, available at http://subversion.tigris.org/.
73
74
75
76perl v5.8.8 2005-06-17 native::Ra(3)