note 101474 modified in function.svn-fs-is-file by danbrown
| From: | danbrown@php.net | Date: | Sun, 19 Dec 2010 17:18:46 +0000 |
| Subject: | note 101474 modified in function.svn-fs-is-file by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-175060@lists.php.net to get a copy of this message | ||
<?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);
?>
--was--
<?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);
http://php.net/manual/en/function.svn-fs-is-file.php