shared

Returns a shared global instance of the FileSystem.

FileSystem.swift:58
iOS
13.0+
macOS
10.15+
tvOS
13.0+
watchOS
6.0+
static var shared: FileSystem { get }

The file system executes blocking work in a thread pool which defaults to having two threads. This can be modified by blockingPoolThreadCountSuggestion or by setting the NIO_SINGLETON_BLOCKING_POOL_THREAD_COUNT environment variable.