github.com/DiversionCompany/notify@v0.9.9/sync_unix_test.go (about)

     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  //go:build !windows
     6  // +build !windows
     7  
     8  package notify
     9  
    10  import "golang.org/x/sys/unix"
    11  
    12  func Sync() {
    13  	unix.Sync()
    14  }
    15  
    16  // UpdateWait is required only by windows watcher implementation. On other
    17  // platforms this function is no-op.
    18  func UpdateWait() {
    19  }