GC_Filesystem_SSH2::is_file()
最后更新于:2021-11-27 20:27:06
GC_Filesystem_SSH2::is_file( string$file)Checks if resource is a file.
参数
- $file
-
(string) (Required) File path.
响应
(bool) Whether $file is a file.
源文件
文件: gc-admin/includes/class-gc-filesystem-ssh2.php
public function is_file( $file ) {
return is_file( $this->sftp_path( $file ) );
}