mirror of
https://github.com/hanzoai/bot.git
synced 2026-10-30 17:24:26 +00:00
Automated rebrand of all openclaw references to hanzo bot: - Package: openclaw -> @hanzo/bot - Binary: openclaw -> hanzo-bot - Config: ~/.openclaw -> ~/.hanzo/bot - Docker: ghcr.io/hanzoai/bot - Env vars: OPENCLAW_* -> BOT_* - Bundle IDs: ai.hanzo.bot.* - Product name: Hanzo Bot
13 lines
379 B
Swift
13 lines
379 B
Swift
import Foundation
|
|
|
|
final class CanvasFileWatcher: @unchecked Sendable, SimpleFileWatcherOwner {
|
|
let watcher: SimpleFileWatcher
|
|
|
|
init(url: URL, onChange: @escaping () -> Void) {
|
|
self.watcher = SimpleFileWatcher(CoalescingFSEventsWatcher(
|
|
paths: [url.path],
|
|
queueLabel: "ai.hanzo.bot.canvaswatcher",
|
|
onChange: onChange))
|
|
}
|
|
}
|