Socialtext::Resting::LocalCopy - Maintain a copy on disk of a workspace
Socialtext::Resting::LocalCopy allows one to copy a workspace into files on the local disk, and to update a workspace from files on disk.
Create a new LocalCopy object. Requires a rester parameter, which should be a Socialtext::Rester-like object.
rester
Reads a workspace and pulls all of the pages into files in the specified directory. Options are passed in as a list of named options:
Reads a directory and pushes all the files in that directory up to the specified workspace. Options are passed in as a list of named options:
Note - tag is not yet implemented.
Attachments are not yet supported. Push by tag is not yet supported.
Luke Closs, <luke.closs at socialtext.com>
<luke.closs at socialtext.com>
Copyright 2007 Luke Closs, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Socialtext::Resting::Utils, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Socialtext::Resting::Utils
CPAN shell
perl -MCPAN -e shell install Socialtext::Resting::Utils
For more information on module installation, please visit the detailed CPAN module installation guide.