Revision 751fb9e2
ID | 751fb9e2eb1c2a244edae026980dd3282f4a6515 |
Parent | cdea7fa8 |
Child | 6eeaf385 |
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 <aehlig@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
Files
- added
- modified
- copied
- renamed
- deleted