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