Rechercher une page de manuel
Socialtext::Resting::LocalCopy.3pm
Langue: en
Version: 2009-05-26 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Socialtext::Resting::LocalCopy - Maintain a copy on disk of a workspaceSYNOPSIS
Socialtext::Resting::LocalCopy allows one to copy a workspace into files on the local disk, and to update a workspace from files on disk.METHODS
new
Create a new LocalCopy object. Requires a "rester" parameter, which should be a Socialtext::Rester-like object.pull
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:- dir - The directory the files should be saved to.
- tag - an optional tag. If specified, only tagged files will be pulled.
push
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:- dir - The directory the files should be saved to.
- tag - an optional tag. If specified, only tagged files will be pushed.
- Note - tag is not yet implemented.
BUGS
Attachments are not yet supported. Push by tag is not yet supported.AUTHOR
Luke Closs, "<luke.closs at socialtext.com>"COPYRIGHT & LICENSE
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.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre