Skip to content

Commit dde9516

Browse files
committed
chore: moved backedpipe to be a part of the agent code
1 parent 78c6540 commit dde9516

File tree

9 files changed

+4
-4
lines changed

9 files changed

+4
-4
lines changed

coderd/agentapi/backedpipe/backed_pipe_test.go renamed to agent/immortalstreams/backedpipe/backed_pipe_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/stretchr/testify/require"
1212
"golang.org/x/xerrors"
1313

14-
"github.com/coder/coder/v2/coderd/agentapi/backedpipe"
14+
"github.com/coder/coder/v2/agent/immortalstreams/backedpipe"
1515
"github.com/coder/coder/v2/testutil"
1616
)
1717

coderd/agentapi/backedpipe/backed_reader_test.go renamed to agent/immortalstreams/backedpipe/backed_reader_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/stretchr/testify/require"
1212
"golang.org/x/xerrors"
1313

14-
"github.com/coder/coder/v2/coderd/agentapi/backedpipe"
14+
"github.com/coder/coder/v2/agent/immortalstreams/backedpipe"
1515
)
1616

1717
// mockReader implements io.Reader with controllable behavior for testing

coderd/agentapi/backedpipe/backed_writer_test.go renamed to agent/immortalstreams/backedpipe/backed_writer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/stretchr/testify/require"
1111
"golang.org/x/xerrors"
1212

13-
"github.com/coder/coder/v2/coderd/agentapi/backedpipe"
13+
"github.com/coder/coder/v2/agent/immortalstreams/backedpipe"
1414
"github.com/coder/coder/v2/testutil"
1515
)
1616

coderd/agentapi/backedpipe/ring_buffer_test.go renamed to agent/immortalstreams/backedpipe/ring_buffer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/stretchr/testify/require"
1212
"go.uber.org/goleak"
1313

14-
"github.com/coder/coder/v2/coderd/agentapi/backedpipe"
14+
"github.com/coder/coder/v2/agent/immortalstreams/backedpipe"
1515
"github.com/coder/coder/v2/testutil"
1616
)
1717

0 commit comments

Comments
 (0)