# 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

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open