svn_delete
Delete items from a working copy or repository
説明
bool svn_delete(string $path, bool $force = false)
Deletes the file, directory or symbolic link at path
from the working directory. The item will be deleted from the repository
the next time you call svn_commit on the working
copy.
パラメータ
-
path
-
Path of item to delete.
注意: 相対パスは、PHP バイナリが存在するディレクトリを基準として解決されます。呼び出しもとのスクリプトの作業ディレクトリを基準とするには、realpath あるいは dirname(__FILE__) を使用してください。
-
force
-
If
true, the file will be deleted even if it has local modifications.
Otherwise, local modifications will result in a failure. Default is
false
戻り値
成功した場合に true を、失敗した場合に false を返します。
注意
警告この関数は、
実験的 なものです。この関数の動作・
名前・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP
のリリースにおいて変更される可能性があります。
この関数は自己責任で使用してください。