PHP Velho Oeste 2024

svn_fs_is_file

(PECL svn >= 0.2.0)

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

설명

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

이 함수는 현재 문서화 되어있지 않습니다; 인수 목록만을 제공합니다.

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

주의

Warning

이 함수는 실험적입니다. 이 함수의 작동, 함수의 이름, 그리고 관련된 모든 문서는 이후의 PHP 릴리즈에서 예고 없이 변경할 수 있습니다. 이 함수의 사용에 관한 것은 사용자 책임입니다.

add a note add a note

User Contributed Notes 1 note

up
0
ytcheng at qq dot com
13 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);
?>
To Top