svn_mkdir
(PECL svn >= 0.4.0)
svn_mkdir — Creates a directory in a working copy or repository
说明
Creates a directory in a working copy or repository.
参数
path
-
The path to the working copy or repository.
+添加备注
用户贡献的备注 1 note
ckozler at ckozler dot net ¶
13 years ago
I would just like to note that there is either an error in the documentation or a bug in the code. When you run svn_mkdir it returns FALSE even on success. As an example you can do
<?php
var_dump( svn_mkdir( "/path/to/your/repo/mydir" ) );
?>
And youll see that the output is
bool(false)