Home > PHP > Function > SVN > svn_fs_copy()

svn_fs_copy()

svn_fs_copy - Copies a file or a directory, returns true if all is ok, false otherwise

Syntax

bool svn_fs_copy (resource $from_root, string $from_path, resource $to_root, string $to_path)

Arguments

  • from_root - If TRUE, it will export uncommitted files from the working copy.
  • from_path - If TRUE, it will export uncommitted files from the working copy.
  • to_root - If TRUE, it will export uncommitted files from the working copy.
  • to_path - If TRUE, it will export uncommitted files from the working copy.

Description

Copies a file or a directory, returns true if all is ok, false otherwise

Version

PHP PECL svn >= 0.2.0

Return value