stat function

FileStat stat(
  1. String path
)

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

Implementation

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