Contents

FSEventsPurgeEventsForDeviceUpToEventId(_:_:)

Declaration

func FSEventsPurgeEventsForDeviceUpToEventId(_ dev: dev_t, _ eventId: FSEventStreamEventId) -> Bool

Parameters

  • dev:

    The dev_t of the device.

  • eventId:

    The event ID.

Return Value

True if it succeeds, otherwise False if it fails.

Discussion

Purges old events from the persistent per-volume database maintained by the service. Can only be called by the root user.