SVN Funciones
PHP Manual

svn_delete

(PECL svn >= 0.4.0)

svn_deleteDelete items from a working copy or repository.

Descripción

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.

Parámetros

path

Path of item to delete.

Note: Las rutas relativas se resolverán como si el directorio de trabajo actual es el que contiene el binario de PHP. Para utilizar el directorio de trabajo que contiene el script a llamar, use realpath() o 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

Valores devueltos

Devuelve TRUE en caso de éxito o FALSE en caso de error.

Notas

Warning

Esta función ha sido declarada EXPERIMENTAL. Su comportamiento, su nombre y la documentación que le acompaña puede cambiar sin previo aviso en futuras versiones de PHP. Use esta función bajo su propio riesgo.

Ver también


SVN Funciones
PHP Manual