statSync method
- @override
override
Calls the operating system's stat() function on path
.
Returns a FileStat object containing the data returned by stat().
If the call fails, returns a FileStat object with .type set to
FileSystemEntityType.NOT_FOUND and the other fields invalid.
Implementation
@override
FileStat statSync(String path) {
try {
path = _resolve(path);
} on FileSystemException {
return const _NotFoundFileStat();
}
return delegate.statSync(_real(path, resolve: false));
}