mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-30 07:59:40 -08:00
733ed099f5
This updates the fsnotify package, which now uses golang.org/x/sys/unix package. This fixes #1507.
13 lines
305 B
Go
13 lines
305 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.
|
|
|
|
// +build darwin
|
|
|
|
package fsnotify
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
// note: this constant is not defined on BSD
|
|
const openMode = unix.O_EVTONLY
|