downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

svn_repos_create> <svn_ls
[edit] Last updated: Fri, 25 May 2012

view this page in

svn_mkdir

(PECL svn >= 0.4.0)

svn_mkdir作業コピーあるいはリポジトリ内にディレクトリを作成する

説明

bool svn_mkdir ( string $path [, string $log_message ] )

作業コピーあるいはリポジトリ内にディレクトリを作成します。

パラメータ

path

作業コピーあるいはリポジトリへのパス。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

参考

  • svn_add() - 作業ディレクトリ内のアイテムの追加を予約する
  • svn_copy()



add a note add a note User Contributed Notes svn_mkdir
ckozler at ckozler dot net 14-Feb-2012 05:25
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)

 
show source | credits | stats | sitemap | contact | advertising | mirror sites