WP_Filesystem_SSH2::getchmod( string $file )
Parameters
- $file
-
(Required)
Return
(string)
Source
File: wp-admin/includes/class-wp-filesystem-ssh2.php
public function getchmod($file) {
return substr( decoct( @fileperms( $this->sftp_path( $file ) ) ), -3 );
}