Files
swift-inotify/Sources/Inotify/Exports.swift
T
T. R. Bernstein 442053eae2
Docs / docs (push) Canceled after 0s
Docs / deploy (push) Canceled after 0s
Move the event mask into a platform-neutral product
`InotifyEventMask` took its bits from the C header, so nothing that
imported it could build outside Linux. The new `InotifyMask` product
spells out the kernel constants instead; a Linux test compares each
of them with the header. `Inotify` re-exports the module, so
existing code is unaffected.
2026-09-14 00:13:19 +02:00

4 lines
146 B
Swift

// The mask lives in its own module so that it is usable off Linux; users
// of `Inotify` keep seeing it as before.
@_exported import InotifyMask