mirror of
https://github.com/docker/compose.git
synced 2025-07-05 21:04:26 +02:00
filewatch: use apiserver FileWatch model in EngineState (#4277)
This follows the "action-first" approach to use the apiserver model for `FileWatch` and dispatch simple create/update/delete actions.
This commit is contained in:
parent
62b5f78fd9
commit
12de97b8d1
@ -14,7 +14,7 @@ import (
|
|||||||
// there or aren't in the right places.
|
// there or aren't in the right places.
|
||||||
//
|
//
|
||||||
// https://app.clubhouse.io/windmill/story/691/filter-out-ephemeral-file-changes
|
// https://app.clubhouse.io/windmill/story/691/filter-out-ephemeral-file-changes
|
||||||
var ephemeralPathMatcher = initEphemeralPathMatcher()
|
var EphemeralPathMatcher = initEphemeralPathMatcher()
|
||||||
|
|
||||||
func initEphemeralPathMatcher() model.PathMatcher {
|
func initEphemeralPathMatcher() model.PathMatcher {
|
||||||
golandPatterns := []string{"**/*___jb_old___", "**/*___jb_tmp___", "**/.idea/**"}
|
golandPatterns := []string{"**/*___jb_old___", "**/*___jb_tmp___", "**/.idea/**"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user