Skip to content

Commit

Permalink
feat(io): merge dirwatch into file source (#3480)
Browse files Browse the repository at this point in the history
Signed-off-by: Jiyong Huang <[email protected]>
  • Loading branch information
ngjaying authored Dec 27, 2024
1 parent db950cf commit f5534b6
Show file tree
Hide file tree
Showing 8 changed files with 101 additions and 449 deletions.
4 changes: 0 additions & 4 deletions etc/sources/dirwatch.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions internal/binder/io/builtin.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"github.com/lf-edge/ekuiper/contract/v2/api"

"github.com/lf-edge/ekuiper/v2/internal/binder"
"github.com/lf-edge/ekuiper/v2/internal/io/dirwatch"
"github.com/lf-edge/ekuiper/v2/internal/io/file"
"github.com/lf-edge/ekuiper/v2/internal/io/http"
"github.com/lf-edge/ekuiper/v2/internal/io/http/httpserver"
Expand All @@ -38,7 +37,6 @@ func init() {
modules.RegisterSource("httppull", func() api.Source { return &http.HttpPullSource{} })
modules.RegisterSource("httppush", func() api.Source { return &http.HttpPushSource{} })
modules.RegisterSource("file", file.GetSource)
modules.RegisterSource("dirwatch", dirwatch.GetSource)
modules.RegisterSource("memory", func() api.Source { return memory.GetSource() })
modules.RegisterSource("neuron", neuron.GetSource)
modules.RegisterSource("websocket", func() api.Source { return websocket.GetSource() })
Expand Down
274 changes: 0 additions & 274 deletions internal/io/dirwatch/source.go

This file was deleted.

79 changes: 0 additions & 79 deletions internal/io/dirwatch/source_test.go

This file was deleted.

Loading

0 comments on commit f5534b6

Please sign in to comment.