mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 15:30:39 +00:00
16 lines
254 B
Swift
16 lines
254 B
Swift
import Foundation
|
|
|
|
protocol SimpleFileWatcherOwner: AnyObject {
|
|
var watcher: SimpleFileWatcher { get }
|
|
}
|
|
|
|
extension SimpleFileWatcherOwner {
|
|
func start() {
|
|
self.watcher.start()
|
|
}
|
|
|
|
func stop() {
|
|
self.watcher.stop()
|
|
}
|
|
}
|