init(foundItem:itemName:itemAttributes:)
Creates a result for an item-lookup operation.
Declaration
init?(foundItem: FSItem, itemName: FSFileName, itemAttributes: FSItem.Attributes)Parameters
- foundItem:
The Fsitem found by the directory lookup.
- itemName:
The item’s name as it exists within the file system. The value may differ from the requested name in order to handle case-insensitive file systems or Unicode normalization.
- itemAttributes:
The Attributes of the found item.
Return Value
A populated result instance, or nil if validation fails.