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

search for in the

svn_fs_make_dir> <svn_fs_is_dir
[edit] Last updated: Sun, 26 May 2013

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

Descrierea

bool svn_fs_is_file ( resource $root , string $path )
Avertizare

Această funcție nu este documentată în prezent; este disponibilă numai lista sa de argumente.

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

Note

Avertizare

Această funcție este EXPERIMENTALĂ. Comportamentul acestei funcții, denumirea sa și orice alte aspecte documentate în privința acestei funcții pot să fie modificate fără preaviz într-o versiune viitoare a PHP. Utilizați această funcție la propriul risc.



add a note add a note User Contributed Notes svn_fs_is_file - [1 notes]
up
0
ytcheng at qq dot com
2 years ago
<?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 | sitemap | contact | advertising | mirror sites