init(attributes:freeSpace:)
Creates a result for an attribute-setting operation.
Declaration
init?(attributes: FSItem.Attributes, freeSpace: FSFreeSpace?)Parameters
- attributes:
The updated Attributes for the item.
- freeSpace:
An Fsfreespace instance populated with the volume’s updated free space. Passing a
nilfree space causes FSKit to calculate the free space when the operation is done, based on the volume’s Volumestatistics property. This behavior may lead to degraded performance.
Return Value
A populated result instance, or nil if validation fails.