NewStat returns information about current cpu/process statistics. See: https://www.kernel.org/doc/Documentation/filesystems/proc.txt Deprecated: Use fs.Stat() instead.
()
| 160 | // |
| 161 | // Deprecated: Use fs.Stat() instead. |
| 162 | func (fs FS) NewStat() (Stat, error) { |
| 163 | return fs.Stat() |
| 164 | } |
| 165 | |
| 166 | // Stat returns information about current cpu/process statistics. |
| 167 | // See: https://www.kernel.org/doc/Documentation/filesystems/proc.txt |