Php/docs/evstat.stat

提供:Dev Guides
< Php
移動先:案内検索

EvStat::stat

(PECL ev >= 0.2.0)

EvStat::statInitiates 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