refactor!: rename module and move CLI to cmd/cephmig
Use the repository path git.zb-server.de/Sebi/CephfsMig as module path instead of the non-importable name CephMig, and move the cephmig entry point from the repository root to cmd/cephmig next to cmd/nativeprobe. Makefile and Dockerfile.native build the new path. BREAKING CHANGE: import paths change from CephMig/... to git.zb-server.de/Sebi/CephfsMig/..., and the binary is now built from ./cmd/cephmig instead of the module root. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7705ed3eaf
commit
8fe60a4f8f
14 files changed
+16
-16
No files matched your search
@@ -55,7 +55,7 @@ import (
|
||||
"time"
|
||||
"unsafe"
|
||||
|
||||
"CephMig/internal/storage"
|
||||
"git.zb-server.de/Sebi/CephfsMig/internal/storage"
|
||||
)
|
||||
|
||||
type Client struct{ mount *C.struct_ceph_mount_info }
|
||||
|
||||
@@ -13,7 +13,7 @@ import (
|
||||
"strings"
|
||||
"syscall"
|
||||
|
||||
"CephMig/internal/storage"
|
||||
"git.zb-server.de/Sebi/CephfsMig/internal/storage"
|
||||
)
|
||||
|
||||
type nativeAccess struct{ backend *nativeTransport }
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"CephMig/internal/storage"
|
||||
"git.zb-server.de/Sebi/CephfsMig/internal/storage"
|
||||
)
|
||||
|
||||
func readNativeAt(f storage.File, b []byte, offset int64) error {
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"context"
|
||||
"io"
|
||||
|
||||
"CephMig/internal/cephfsnative"
|
||||
"git.zb-server.de/Sebi/CephfsMig/internal/cephfsnative"
|
||||
)
|
||||
|
||||
func openNativeEngine(ctx context.Context, c Config, x Executor, log io.Writer) (Engine, io.Closer, error) {
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"strings"
|
||||
"syscall"
|
||||
|
||||
"CephMig/internal/storage"
|
||||
"git.zb-server.de/Sebi/CephfsMig/internal/storage"
|
||||
)
|
||||
|
||||
func walkNative(ctx context.Context, fs storage.FS, root string, visit func(string, storage.Node, int) error) error {
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"CephMig/internal/storage"
|
||||
"git.zb-server.de/Sebi/CephfsMig/internal/storage"
|
||||
)
|
||||
|
||||
type inventorySourceFS struct {
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"CephMig/internal/storage"
|
||||
"git.zb-server.de/Sebi/CephfsMig/internal/storage"
|
||||
)
|
||||
|
||||
type emptyNativeDiff struct{}
|
||||
|
||||
@@ -16,7 +16,7 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"CephMig/internal/storage"
|
||||
"git.zb-server.de/Sebi/CephfsMig/internal/storage"
|
||||
)
|
||||
|
||||
const nativeChunk = 4 << 20
|
||||
|
||||
Reference in new issue
Block a user