Contents

metadataClear(_:withDelayedWrites:)

Clears the given ranges within the buffer cache.

Declaration

func metadataClear(_ rangesToClear: [FSMetadataRange], withDelayedWrites: Bool) throws

Parameters

Discussion

This method clears the specified ranges in the resource’s buffer cache by writing zeroes into them.

See Also

Reading and writing data with kernel buffer cache