| 1 | // Copyright (c) 2014-2015 The Notify Authors. All rights reserved. |
| 2 | // Use of this source code is governed by the MIT license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | // +build !windows |
| 6 | |
| 7 | package notify |
| 8 | |
| 9 | import "golang.org/x/sys/unix" |
| 10 | |
| 11 | func Sync() { |
| 12 | unix.Sync() |
| 13 | } |
| 14 | |
| 15 | // UpdateWait is required only by windows watcher implementation. On other |
| 16 | // platforms this function is no-op. |
| 17 | func UpdateWait() { |
| 18 | } |