ChildSequence
struct ChildSequence : Sequence
A sequence of child locations contained within a given folder.
You obtain an instance of this type by accessing children
on Path
instance.
-
Return a new instance of this sequence that’ll traverse the directory’s content recursively.
Declaration
Swift
public var recursive: ChildSequence { get }
-
Return a new instance of this sequence that’ll include all hidden filesystem items when traversing the directory’s contents.
Declaration
Swift
public var includingHidden: ChildSequence { get }
-
Checks if this sequence is empty.
Declaration
Swift
public var isEmpty: Bool { get }
-
Count the number of items countained within this sequence.
Declaration
Swift
public var count: Int { get }
-
Declaration
Swift
public func makeIterator() -> ChildSequenceIterator