NIOFilePath

NIOFilePath is a type for representing a file path. It is backed by SystemPackage’s FilePath type.

NIOFilePath.swift:31
struct NIOFilePath

You can create a NIOFilePath from a string literal:

let path: NIOFilePath = "/home/user/report.txt"

To interact with the underlying filepath using SystemPackage.FilePath’s API, you can initialize a SystemPackage.FilePath instance from a NIOFilePath instance (and vice-versa).