From c692f7a18b0dc49aace5eddc61072667d25d6dc7 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Fri, 17 Sep 2021 13:40:05 +0200 Subject: Remove unused code from libpod The libpod package should only compile on linux. The remote client should never try to import this package. Since these files do not add any value we should remove them, this prevents people from accidentally importing this package because it would fail to compile on windows/macos. [NO TESTS NEEDED] Signed-off-by: Paul Holzinger --- libpod/container_stat_unsupported.go | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 libpod/container_stat_unsupported.go (limited to 'libpod/container_stat_unsupported.go') diff --git a/libpod/container_stat_unsupported.go b/libpod/container_stat_unsupported.go deleted file mode 100644 index c002e4d32..000000000 --- a/libpod/container_stat_unsupported.go +++ /dev/null @@ -1,13 +0,0 @@ -// +build !linux - -package libpod - -import ( - "context" - - "github.com/containers/podman/v3/libpod/define" -) - -func (c *Container) stat(ctx context.Context, containerMountPoint string, containerPath string) (*define.FileInfo, string, string, error) { - return nil, "", "", nil -} -- cgit v1.2.3-54-g00ecf