Initiates the stat call

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

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *