GC_Filesystem_SSH2::is_readable()

最后更新于:2021-11-27 20:30:08

GC_Filesystem_SSH2::is_readable( string$file)

Checks if a file is readable.

参数

$file

(string) (Required) Path to file.

响应

(bool) Whether $file is readable.

源文件

文件: gc-admin/includes/class-gc-filesystem-ssh2.php

	public function is_readable( $file ) {
		return is_readable( $this->sftp_path( $file ) );
	}