Contents

init(itemAttributes:directoryAttributes:freeSpace:)

Creates a result for an item-removal operation.

Declaration

init?(itemAttributes: FSItem.Attributes, directoryAttributes: FSItem.Attributes, freeSpace: FSFreeSpace?)

Parameters

  • itemAttributes:

    The Attributes of the removed item.

  • directoryAttributes:

    The updated Attributes of the parent directory.

  • freeSpace:

    An Fsfreespace instance populated with the volume’s updated free space. Passing a nil free space causes FSKit to calculate the free space when the operation finishes, 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.

See Also

Creating a remove-item result