(PECL svn >= 0.4.0)
svn_delete — Delete items from a working copy or repository
$path
, bool $force
= false
): bool
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.
Nota: Os caminhos relativos serão resolvidos como se o diretório de trabalho atual fosse aquele que contém o binário do PHP. Para usar o diretório de trabalho do script de chamada, use realpath() ou 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
Retorna true
em caso de sucesso ou false
em caso de falha.
Esta função é EXPERIMENTAL. O comportamento desta função, seu nome e documentação poderão mudar sem aviso prévio em futuras versões do PHP. Use por sua conta e risco.