svn_delete

(PECL svn >= 0.4.0)

svn_deleteDelete items from a working copy or repository

˵��

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.

����

path

Path of item to delete.

Note: ���·��������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��

ע��

Warning

�˺�����ʵ�����ġ��˺����ı��󣬰������Ƽ�������ĵ���������δ���� PHP �����汾��δ֪ͨ�ͱ��޸ġ�ʹ�ñ����������Ե� ��