metadataSync method

Result<Metadata, IoError> metadataSync()

Queries the file system to get information about a file, directory, etc. Note: using this method means that the program can no longer compile for the web.

Implementation

Result<Metadata, IoError> metadataSync() => Env.isWindows
    ? WindowsPath(_string).metadataSync()
    : UnixPath(_string).metadataSync();