init(path:type:)

    Creates a directory entry; returns nil if path has no components.

    DirectoryEntry.swift:40
    init?(path: FilePath, type: FileType)

    Parameters

    path

    The path of the directory entry which must contain at least one component.

    type

    The type of entry.

    Other members in extension

    Instance members