update page now
PHP 8.3.29 Released!

svn_mkdir

(PECL svn >= 0.4.0)

svn_mkdirCrea un directorio en la copia de trabajo actual o repositorio

Descripción

svn_mkdir(string $path, string $log_message = ?): bool

Crea un directorio en la copia de trabajo o repositorio.

Parámetros

path

La ruta a la copia de trabajo o repositorio.

Valores devueltos

Esta función retorna true en caso de éxito o false si ocurre un error.

Ver también

  • svn_add() - Prevé la adición de un elemento en el directorio de trabajo
  • svn_copy()

add a note

User Contributed Notes 1 note

up
0
ckozler at ckozler dot net
13 years ago
I would just like to note that there is either an error in the documentation or a bug in the code. When you run svn_mkdir it returns FALSE even on success. As an example you can do 

<?php

var_dump( svn_mkdir( "/path/to/your/repo/mydir" ) );

?>

And youll see that the output is

bool(false)
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant