1Git::SVN::Utils(3)    User Contributed Perl Documentation   Git::SVN::Utils(3)
2
3
4

NAME

6       Git::SVN::Utils - utility functions used across Git::SVN
7

SYNOPSIS

9           use Git::SVN::Utils qw(functions to import);
10

DESCRIPTION

12       This module contains functions which are useful across many different
13       parts of Git::SVN.  Mostly it's a place to put utility functions rather
14       than duplicate the code or have classes grabbing at other classes.
15

FUNCTIONS

17       All functions can be imported only on request.
18
19       fatal
20
21           fatal(@message);
22
23       Display a message and exit with a fatal error code.
24
25       can_compress
26
27           my $can_compress = can_compress;
28
29       Returns true if Compress::Zlib is available, false otherwise.
30
31       canonicalize_path
32
33           my $canoncalized_path = canonicalize_path($path);
34
35       Converts $path into a canonical form which is safe to pass to the SVN
36       API as a file path.
37
38       canonicalize_url
39
40           my $canonicalized_url = canonicalize_url($url);
41
42       Converts $url into a canonical form which is safe to pass to the SVN
43       API as a URL.
44
45       join_paths
46
47           my $new_path = join_paths(@paths);
48
49       Appends @paths together into a single path.  Any empty paths are
50       ignored.
51
52       add_path_to_url
53
54           my $new_url = add_path_to_url($url, $path);
55
56       Appends $path onto the $url.  If $path is empty, $url is returned
57       unchanged.
58
59
60
61perl v5.16.3                      2013-06-10                Git::SVN::Utils(3)
Impressum