Source

VersionControl_Hg / Trunk / Documentation / API / Docbook / versioncontrol / hg / command / versioncontrol-hg-command-clone / directory-is-empty.xml

The default branch has multiple heads

Full commit
<refentry id="package.versioncontrol.hg.command.versioncontrol-hg-command-clone.directory-is-empty">
 <refnamediv>
  <refname>
   <function>VersionControl_Hg_Command_Clone::directory_is_empty</function>
  </refname>
  <refpurpose>Confirm that the path exists</refpurpose>
 </refnamediv>
 <refsynopsisdiv>
  <funcsynopsis>
   <funcsynopsisinfo>require_once &apos;/Hg/Command/Clone.php&apos;;</funcsynopsisinfo>
   <funcprototype>
    <funcdef>
     boolean
     <function>VersionControl_Hg_Command_Clone::directory_is_empty</function>
    </funcdef>
    <paramdef>
     string
     <parameter>$path</parameter>
    </paramdef>
   </funcprototype>
  </funcsynopsis>
 </refsynopsisdiv>
 <refsect1 id="package.versioncontrol.hg.command.versioncontrol-hg-command-clone.directory-is-empty.desc">
  &title.desc;
  &notdocumented;
</refsect1>
 <refsect1 id="package.versioncontrol.hg.command.versioncontrol-hg-command-clone.directory-is-empty.param">
  &title.param;
  <para>
   <variablelist>
    <varlistentry>
     <term>
      &type.string;
      <parameter>$path</parameter>
     </term>
     <listitem>
      <para>The path the repository should be created at</para>
     </listitem>
    </varlistentry>
   </variablelist>
  </para>
 </refsect1>
 <refsect1 id="package.versioncontrol.hg.command.versioncontrol-hg-command-clone.directory-is-empty.throws">
  &title.throws;
  <para>
   <emphasis>throws</emphasis>
   no exceptions thrown
  </para>
 </refsect1>
 <refsect1 id="package.versioncontrol.hg.command.versioncontrol-hg-command-clone.directory-is-empty.note">
  &title.note;
  &note.notstatic;
</refsect1>
</refentry>