EvStat::stat
(PECL ev >= 0.2.0)
EvStat::stat — Initiates the stat call
說明
public EvStat::stat(): bool
Initiates the stat call(updates internal cache). It stats(using lstat ) the path specified in the watcher and sets to the values found.
參數
此函式沒有參數。
返回值
Returns true if path exists. Otherwise false.
參見
- EvStat::attr() - Returns the values most recently detected by Ev
- EvStat::prev() - Returns the previous set of values returned by EvStat::attr