<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.svn.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'function.svn-delete.php',
    1 => 'svn_delete',
    2 => 'Delete items from a working copy or repository',
  ),
  'up' => 
  array (
    0 => 'ref.svn.php',
    1 => 'SVN 関数',
  ),
  'prev' => 
  array (
    0 => 'function.svn-commit.php',
    1 => 'svn_commit',
  ),
  'next' => 
  array (
    0 => 'function.svn-diff.php',
    1 => 'svn_diff',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/svn/functions/svn-delete.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.svn-delete" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">svn_delete</h1>
  <p class="verinfo">(PECL svn &gt;= 0.4.0)</p><p class="refpurpose"><span class="refname">svn_delete</span> &mdash; <span class="dc-title">Delete items from a working copy or repository</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.svn-delete-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>svn_delete</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$path</code></span>, <span class="methodparam"><span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span> <code class="parameter">$force</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong></span></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="simpara">
   Deletes the file, directory or symbolic link at <code class="parameter">path</code>
   from the working directory. The item will be deleted from the repository
   the next time you call <span class="function"><a href="function.svn-commit.php" class="function">svn_commit()</a></span> on the working
   copy.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.svn-delete-parameters">
  <h3 class="title">パラメータ</h3>
  <dl>
   
    <dt><code class="parameter">path</code></dt>
    <dd>
     <span class="simpara">
      Path of item to delete.
     </span>
     <blockquote class="note"><p><strong class="note">注意</strong>: <span class="simpara">相対パスは、PHP バイナリが存在するディレクトリを基準として解決されます。呼び出しもとのスクリプトの作業ディレクトリを基準とするには、<span class="function"><a href="function.realpath.php" class="function">realpath()</a></span> あるいは dirname(__FILE__) を使用してください。</span></p></blockquote>
    </dd>
   
   
    <dt><code class="parameter">force</code></dt>
    <dd>
     <span class="simpara">
      If <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>, the file will be deleted even if it has local modifications.
      Otherwise, local modifications will result in a failure. Default is
      <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>
     </span>
    </dd>
   
  </dl>

 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.svn-delete-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="simpara">
   成功した場合に <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> を、失敗した場合に <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> を返します。
  </p>
 </div>


 <div class="refsect1 notes" id="refsect1-function.svn-delete-notes">
  <h3 class="title">注意</h3>
  <div class="warning"><strong class="warning">警告</strong><p class="simpara">この関数は、
<em>実験的</em> なものです。この関数の動作・
名前・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP
のリリースにおいて変更される可能性があります。
この関数は自己責任で使用してください。</p></div>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.svn-delete-seealso">
  <h3 class="title">参考</h3>
  <ul class="simplelist">
   <li><a href="http://svnbook.red-bean.com/en/1.2/svn.ref.svn.c.delete.html" class="link external">&raquo;&nbsp;SVN documentation on svn
   delete</a></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>