2017-10-20 14:52:55 +00:00
|
|
|
// 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 linux
|
|
|
|
|
|
|
|
package fs
|
|
|
|
|
2018-03-14 13:48:22 +00:00
|
|
|
import "github.com/syncthing/notify"
|
2017-10-20 14:52:55 +00:00
|
|
|
|
|
|
|
const (
|
|
|
|
subEventMask = notify.InCreate | notify.InMovedTo | notify.InDelete | notify.InDeleteSelf | notify.InModify | notify.InMovedFrom | notify.InMoveSelf
|
|
|
|
permEventMask = notify.InAttrib
|
|
|
|
rmEventMask = notify.InDelete | notify.InDeleteSelf | notify.InMovedFrom | notify.InMoveSelf
|
|
|
|
)
|