|
checkOut
checkOutThis method uses getDirectoryTree to retrieve the specified $folder from the latest version, and save its hierarchy to $outPath. The $folder prefix is not carried over to the local filesystem; its contents will appear directly in $outPath.
UsagecheckOut($svnDir, $localDir, $checkFiles); ExampleCopy the contents of the trunk directory to /tmp (Linux directory where files eventually get cleaned out) with file checking. $url = 'http://phpsvnclient.googlecode.com/svn/';
require_once("phpsvnclient.php");
$phpsvnclient = new phpsvnclient($url);
$phpsvnclient->checkOut('trunk', '/tmp', true);
|
► Sign in to add a comment