full diff: https://github.com/fsnotify/fsnotify/compare/v1.4.9...v1.5.1 Relevant changes: - Fix unsafe pointer conversion - Drop support/testing for Go 1.11 and earlier - Update x/sys to latest - add //go:build lines - add go 1.17 to test matrix Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
14 lines
340 B
Go
14 lines
340 B
Go
// Copyright 2013 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
//go:build darwin
|
|
// +build darwin
|
|
|
|
package fsnotify
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
// note: this constant is not defined on BSD
|
|
const openMode = unix.O_EVTONLY | unix.O_CLOEXEC
|