EvStat::stat

(PECL ev >= 0.2.0)

EvStat::stat — Initiates the stat call

说明

public function 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
+添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top