downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

svn_fs_make_dir> <svn_fs_is_dir
[edit] Last updated: Fri, 23 Mar 2012

view this page in

svn_fs_is_file

(PECL svn >= 0.2.0)

svn_fs_is_fileReturn true if the path points to a file, false otherwise

Açıklama

bool svn_fs_is_file ( resource $root , string $path )
Uyarı

Bu işlev hala belgelendirilmemiştir; sadece değiştirge listesi mevcuttur.

Return true if the path points to a file, false otherwise

Notlar

Uyarı

Bu işlev DENEYSELDİR. Bu işlevin davranışı, ismi ve belgeleri PHP'nin sonraki sürümlerinde hiçbir duyuru yapılmaksızın değiştirilebilir. Bu riski göze alamayacaksanız bu işlevi kullanmayın.



add a note add a note User Contributed Notes svn_fs_is_file
ytcheng at qq dot com 18-Dec-2010 01:16
<?php
    $repos
= svn_repos_open($this->sourceRoot);
   
$fs = svn_repos_fs($repos);
   
$head = svn_fs_youngest_rev($fs);
   
$fsroot = svn_fs_revision_root($fs,$head);
    echo
svn_fs_is_file($fsroot,$path);
?>

 
show source | credits | stats | sitemap | contact | advertising | mirror sites