From 1536a9c977287550834dc86f031c227dc49980ba Mon Sep 17 00:00:00 2001 From: Todd Baert Date: Wed, 1 Feb 2023 14:07:04 -0500 Subject: [PATCH] Update pkg/sync/file/filepath_sync.go Signed-off-by: Todd Baert --- pkg/sync/file/filepath_sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sync/file/filepath_sync.go b/pkg/sync/file/filepath_sync.go index 106d17847..699201240 100644 --- a/pkg/sync/file/filepath_sync.go +++ b/pkg/sync/file/filepath_sync.go @@ -57,7 +57,7 @@ func (fs *Sync) Sync(ctx context.Context, dataSync chan<- sync.DataSync) error { fs.Logger.Info(fmt.Sprintf("filepath event: %s %s", event.Name, event.Op.String())) - // event.Op is bitmask and some systems may send multiple operations at once + // event.Op is a bitmask and some systems may send multiple operations at once // event.Has(...) checks that the bitmask contains the particular event (among others) if event.Has(fsnotify.Create) || event.Has(fsnotify.Write) { fs.sendDataSync(ctx, event, dataSync)