GoLang EvStat::stat

request it (343)
GoLang replacement for PHP's EvStat::stat [edit | history]

Do you know a GoLang replacement for PHP's EvStat::stat? Write it!

PHP EvStat::stat

PHP original manual for EvStat::stat [ show | php.net ]


(PECL ev >= 0.2.0)

EvStat::statInitiates the stat call


public bool EvStat::stat ( void )

Initiates the stat call(updates internal cache). It stats(using lstat ) the path specified in the watcher and sets to the values found.


This function has no parameters.

Return Values

Returns TRUE if path exists. Otherwise FALSE.

See Also

  • EvStat::attr() - Returns the values most recently detected by Ev
  • EvStat::prev() - Returns the previous set of values returned by EvStat::attr