metadata static method
Asynchronously calls the operating system's stat()
function (or
equivalent) on path
.
If path
is a symbolic link then it is resolved and results for the
resulting file are returned.
Implementation
static FutureResult<Metadata, IoError> metadata(Path path) async {
return await Fs.ioGuard(() async {
return await FileStat.stat(path.asString());
});
}