From 7d0488b11e919160709fa68161a54bc93365c3bd Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sat, 6 May 2023 01:48:16 +0200 Subject: [PATCH] pkg/ioutils: remove deprecated TempDir() alias This function was deprecated in c63ea32a1780bfd063c2a6bc5dcaefe4026f27e9, which is part of the v24.0.0 release, so we can remove it from master. Signed-off-by: Sebastiaan van Stijn --- pkg/ioutils/tempdir_deprecated.go | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 pkg/ioutils/tempdir_deprecated.go diff --git a/pkg/ioutils/tempdir_deprecated.go b/pkg/ioutils/tempdir_deprecated.go deleted file mode 100644 index b3321602c2..0000000000 --- a/pkg/ioutils/tempdir_deprecated.go +++ /dev/null @@ -1,10 +0,0 @@ -package ioutils - -import "github.com/docker/docker/pkg/longpath" - -// TempDir is the equivalent of [os.MkdirTemp], except that on Windows -// the result is in Windows longpath format. On Unix systems it is -// equivalent to [os.MkdirTemp]. -// -// Deprecated: use [longpath.MkdirTemp]. -var TempDir = longpath.MkdirTemp