« Previous | Next » 

Revision 751fb9e2

ID751fb9e2eb1c2a244edae026980dd3282f4a6515
Parent cdea7fa8
Child 6eeaf385

Added by Klaus Aehlig over 10 years ago

Add a safe version of getFStat

The function getFStat causes an IOError if the file to be stated does
not exist. In some cases, however, the only thing we care about is whether
it has changed, with disappearing being a legitimate change. So add a wrapper
that catches the IOError and returns nullFStat.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Petr Pudlak <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences