GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GIT::SVN::UTILS (3)

.ds Aq ’

NAME

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

CONTENTS

SYNOPSIS



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



DESCRIPTION

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

FUNCTIONS

All functions can be imported only on request.

fatal



    fatal(@message);



Display a message and exit with a fatal error code.

can_compress



    my $can_compress = can_compress;



Returns true if Compress::Zlib is available, false otherwise.

canonicalize_path



    my $canoncalized_path = canonicalize_path($path);



Converts $path into a canonical form which is safe to pass to the SVN API as a file path.

canonicalize_url



    my $canonicalized_url = canonicalize_url($url);



Converts $url into a canonical form which is safe to pass to the SVN API as a URL.

join_paths



    my $new_path = join_paths(@paths);



Appends @paths together into a single path. Any empty paths are ignored.

add_path_to_url



    my $new_url = add_path_to_url($url, $path);



Appends $path onto the $url. If $path is empty, $url is returned unchanged.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 GIT::SVN::UTILS (3) 2016-03-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.