GC_Filesystem_Direct::size()
最后更新于:2021-11-27 18:44:30
GC_Filesystem_Direct::size( string$file)Gets the file size (in bytes).
参数
- $file
-
(string) (Required) Path to file.
响应
(int|false) Size of the file in bytes on success, false on failure.
源文件
文件: gc-admin/includes/class-gc-filesystem-direct.php
public function size( $file ) {
return @filesize( $file );
}