NAME
Slaughter::Transport::rsync - rsync transport class.
SYNOPSIS
This transport copes with fetching a remote store to the local system, via rsync.
DESCRIPTION
This module uses the Slaughter::Transport::revisionControl
base-class in such a way as to offer a rsync-based transport.
All the implementation, except for the setup of some variables, comes from that base class.
IMPLEMENTATION
The following commands are set in the "_init" method:
- cmd_clone
-
This is set to "
rsync -qazr
". - cmd_update
-
This is set to "
rsync -qazr
" - identical to that used in the clone, as rsync is always incremental in nature. - cmd_version
-
This is set to "
rsync --version
". - name
-
This is set to "
rsync
".
AUTHOR
Steve
--
http://www.steve.org.uk/
LICENSE
Copyright (c) 2012 by Steve Kemp. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the full text of the license.
new
Create a new instance of this object.
_init
Initialiaze this object, by setting up the rsync-specific commands, etc.