Move mount to core/mount

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan
2024-01-17 09:52:12 -08:00
parent 1a1e0e8c81
commit 6e5408dcec
93 changed files with 74 additions and 74 deletions

View File

@@ -17,7 +17,7 @@
package os
import (
"github.com/containerd/containerd/v2/mount"
"github.com/containerd/containerd/v2/core/mount"
"golang.org/x/sys/unix"
)

View File

@@ -18,7 +18,7 @@
package os
import "github.com/containerd/containerd/v2/mount"
import "github.com/containerd/containerd/v2/core/mount"
// LookupMount gets mount info of a given path.
func (RealOS) LookupMount(path string) (mount.Info, error) {

View File

@@ -19,7 +19,7 @@
package os
import (
"github.com/containerd/containerd/v2/mount"
"github.com/containerd/containerd/v2/core/mount"
)
// Mount will call unix.Mount to mount the file.

View File

@@ -19,7 +19,7 @@ package os
import (
"errors"
"github.com/containerd/containerd/v2/mount"
"github.com/containerd/containerd/v2/core/mount"
)
// Mount is an empty stub on Windows.

View File

@@ -22,7 +22,7 @@ import (
"github.com/moby/sys/symlink"
"github.com/containerd/containerd/v2/mount"
"github.com/containerd/containerd/v2/core/mount"
)
// OS collects system level operations that need to be mocked out

View File

@@ -20,7 +20,7 @@ import (
"os"
"sync"
containerdmount "github.com/containerd/containerd/v2/mount"
containerdmount "github.com/containerd/containerd/v2/core/mount"
osInterface "github.com/containerd/containerd/v2/pkg/os"
)