vendor/github.com/fsnotify/fsnotify/open_mode_darwin.go
changeset 265 05c40b36d3b2
parent 264 8f478162d991
child 266 80973a656b81
equal deleted inserted replaced
264:8f478162d991 265:05c40b36d3b2
     1 // Copyright 2013 The Go Authors. All rights reserved.
       
     2 // Use of this source code is governed by a BSD-style
       
     3 // license that can be found in the LICENSE file.
       
     4 
       
     5 //go:build darwin
       
     6 // +build darwin
       
     7 
       
     8 package fsnotify
       
     9 
       
    10 import "golang.org/x/sys/unix"
       
    11 
       
    12 // note: this constant is not defined on BSD
       
    13 const openMode = unix.O_EVTONLY | unix.O_CLOEXEC