Initializerswift-nio 2.72.0_NIOFileSystem
init(path:type:)
Creates a directory entry; returns nil
if path
has no components.
init?(path: FilePath, type: FileType)
Parameters
Other members in extension
Instance members
var name: FilePath.Component
The name of the entry; the final component of the
path
.let path: FilePath
The path of the directory entry.
var type: FileType
The type of entry.