mirror of
https://github.com/octoleo/syncthing.git
synced 2024-09-19 21:29:01 +00:00
20 lines
714 B
Go
20 lines
714 B
Go
// Copyright (C) 2017 The Syncthing Authors.
|
|
//
|
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
// You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
// +build dragonfly freebsd netbsd openbsd
|
|
|
|
package fs
|
|
|
|
import "github.com/syncthing/notify"
|
|
|
|
const (
|
|
// Platform independent notify.Create is required, as kqueue does not have
|
|
// any event signalling file creation, but notify does generate those internally.
|
|
subEventMask = notify.NoteDelete | notify.NoteWrite | notify.NoteRename | notify.Create
|
|
permEventMask = notify.NoteAttrib | notify.NoteExtend
|
|
rmEventMask = notify.NoteDelete | notify.NoteRename
|
|
)
|