EvStat::stat

(PECL ev >= 0.2.0)

EvStat::statInitiates the stat call

说明

public EvStat::stat ( void ) : 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