metadataPurge(_:)
Synchronously purges the given ranges from the buffer cache.
Declaration
func metadataPurge(_ rangesToPurge: [FSMetadataRange]) throwsParameters
- rangesToPurge:
The metadata ranges to purge.
Discussion
This method removes the given ranges from the resource’s buffer cache. This process drops any dirty data in the cache, preventing the data from reaching the device.