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

search for in the

svn_diff> <svn_commit
Last updated: Fri, 20 May 2011

view this page in

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.



add a note add a note User Contributed Notes svn_delete
There are no user contributed notes for this page.

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