Olivier Thauvin

NAME

MMM::Sync - A module to run application

FUNCTIONS

new($source, $dest, %options)

Create a new MMM::Sync object where $source is the url to sync, $dest the local directory, and %options options to pass to sync tool.

get_output

Return the log resulting of sync()

reset_output

Reset internal log

buildcmd

Return the command to run to sync the tree

sync

Run the synchronzation process. Return 0 on success, 1 when retry is suggest, 2 for unccorectable error.

AUTHOR

Olivier Thauvin <nanardon@nanardon.zarb.org>