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: Fri, 24 Jun 2011

view this page in

svn_fs_is_file

(PECL svn >= 0.2.0)

svn_fs_is_fileبازگرداندن true اگر مسیر به فایل اشاره کند در غیر این صورت false

Description

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

This function is currently not documented; only its argument list is available.

بازگرداندن true اگر مسیر به فایل اشاره کند در غیر این صورت false

Notes

Warning

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.



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 | stats | sitemap | contact | advertising | mirror sites