stat function

Future<FileStat> stat(
  1. String path
)

Returns a FileStat instance describing the file or directory located by path.

Implementation

Future<FileStat> stat(String path) async => File(path).statSync();