Skip to content

Commit 873afd5

Browse files
committed
internal/vcs: use os.CopyFS from Go 1.23
We no longer need our simplified copy of CopyFS. Signed-off-by: Daniel Martí <[email protected]> Change-Id: I21c4b9b211129218c8a0bc2848652bd5bf256a73 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1209029 Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Roger Peppe <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
1 parent 4e0cc47 commit 873afd5

File tree

2 files changed

+1
-76
lines changed

2 files changed

+1
-76
lines changed

internal/vcs/copyfs_test.go

-75
This file was deleted.

internal/vcs/vcs_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func TestGit(t *testing.T) {
3838
-- baz/something --
3939
`)))
4040
qt.Assert(t, qt.IsNil(err))
41-
err = copyFS(dir, testFS)
41+
err = os.CopyFS(dir, testFS)
4242
qt.Assert(t, qt.IsNil(err))
4343

4444
// In the tests that follow, we are testing the scenario where a module is

0 commit comments

Comments
 (0)