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: 锟斤拷锟铰凤拷锟斤拷锟斤拷锟斤拷锟絇HP执锟斤拷锟侥硷拷锟斤拷锟斤拷目录锟斤拷为锟斤拷前锟斤拷锟斤拷目录锟斤拷锟叫斤拷锟斤拷锟斤拷锟斤拷锟较o拷锟斤拷锟斤拷萁疟锟斤拷锟斤拷锟侥柯硷拷锟斤拷锟�, 使锟斤拷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 锟斤拷锟斤拷锟芥本锟斤拷未通知锟酵憋拷锟睫改★拷使锟矫憋拷锟斤拷锟斤拷锟斤拷锟斤拷锟皆碉拷 锟斤拷