php8.5
Home/ Manual/ svn / functions/ svn_delete

svn_delete

PHP function Edit on GitHub ✎

(PECL svn >= 0.4.0)

Delete items from a working copy or repository

Description

svn_delete(string $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.

Parameters

path

Path of item to delete.

Relativepath

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

Return Values

Success

Notes Func

See Also

  • SVN documentation on svn delete

Source: reference/svn/functions/svn-delete.xml · from the official PHP manual (php/doc-en)