lstat(path:)

Returns information about a file at path on a private thread pool.

NonBlockingFileIO.swift:1164
iOS
13+
macOS
10.15+
tvOS
13+
watchOS
6+
func lstat(path: String) async throws -> stat

Parameters

path

The path of the file to get information about.

Returns

file information.