From 5f8d497de165eba94e53f3d16538a58f45950529 Mon Sep 17 00:00:00 2001 From: royalcat Date: Wed, 27 Dec 2023 00:14:36 +0300 Subject: [PATCH] rename --- cmd/tstor/main.go | 8 ++++---- src/{mounts => export}/fuse/handler.go | 0 src/{mounts => export}/fuse/handler_nocgo.go | 0 src/{mounts => export}/fuse/mount.go | 0 src/{mounts => export}/fuse/mount_test.go | 0 src/{mounts => export}/httpfs/httpfs.go | 0 src/{mounts => export}/nfs/handler.go | 0 src/{mounts => export}/nfs/wrapper-v3.go | 0 src/{mounts => export}/nfs/wrapper-v4.go | 0 src/{mounts => export}/webdav/fs.go | 0 src/{mounts => export}/webdav/fs_test.go | 0 src/{mounts => export}/webdav/handler.go | 0 src/{mounts => export}/webdav/http.go | 0 13 files changed, 4 insertions(+), 4 deletions(-) rename src/{mounts => export}/fuse/handler.go (100%) rename src/{mounts => export}/fuse/handler_nocgo.go (100%) rename src/{mounts => export}/fuse/mount.go (100%) rename src/{mounts => export}/fuse/mount_test.go (100%) rename src/{mounts => export}/httpfs/httpfs.go (100%) rename src/{mounts => export}/nfs/handler.go (100%) rename src/{mounts => export}/nfs/wrapper-v3.go (100%) rename src/{mounts => export}/nfs/wrapper-v4.go (100%) rename src/{mounts => export}/webdav/fs.go (100%) rename src/{mounts => export}/webdav/fs_test.go (100%) rename src/{mounts => export}/webdav/handler.go (100%) rename src/{mounts => export}/webdav/http.go (100%) diff --git a/cmd/tstor/main.go b/cmd/tstor/main.go index fa89413..7db93bc 100644 --- a/cmd/tstor/main.go +++ b/cmd/tstor/main.go @@ -21,12 +21,12 @@ import ( "github.com/urfave/cli/v2" wnfs "github.com/willscott/go-nfs" + "git.kmsign.ru/royalcat/tstor/src/export/fuse" + "git.kmsign.ru/royalcat/tstor/src/export/httpfs" + "git.kmsign.ru/royalcat/tstor/src/export/nfs" + "git.kmsign.ru/royalcat/tstor/src/export/webdav" "git.kmsign.ru/royalcat/tstor/src/http" dlog "git.kmsign.ru/royalcat/tstor/src/log" - "git.kmsign.ru/royalcat/tstor/src/mounts/fuse" - "git.kmsign.ru/royalcat/tstor/src/mounts/httpfs" - "git.kmsign.ru/royalcat/tstor/src/mounts/nfs" - "git.kmsign.ru/royalcat/tstor/src/mounts/webdav" ) const ( diff --git a/src/mounts/fuse/handler.go b/src/export/fuse/handler.go similarity index 100% rename from src/mounts/fuse/handler.go rename to src/export/fuse/handler.go diff --git a/src/mounts/fuse/handler_nocgo.go b/src/export/fuse/handler_nocgo.go similarity index 100% rename from src/mounts/fuse/handler_nocgo.go rename to src/export/fuse/handler_nocgo.go diff --git a/src/mounts/fuse/mount.go b/src/export/fuse/mount.go similarity index 100% rename from src/mounts/fuse/mount.go rename to src/export/fuse/mount.go diff --git a/src/mounts/fuse/mount_test.go b/src/export/fuse/mount_test.go similarity index 100% rename from src/mounts/fuse/mount_test.go rename to src/export/fuse/mount_test.go diff --git a/src/mounts/httpfs/httpfs.go b/src/export/httpfs/httpfs.go similarity index 100% rename from src/mounts/httpfs/httpfs.go rename to src/export/httpfs/httpfs.go diff --git a/src/mounts/nfs/handler.go b/src/export/nfs/handler.go similarity index 100% rename from src/mounts/nfs/handler.go rename to src/export/nfs/handler.go diff --git a/src/mounts/nfs/wrapper-v3.go b/src/export/nfs/wrapper-v3.go similarity index 100% rename from src/mounts/nfs/wrapper-v3.go rename to src/export/nfs/wrapper-v3.go diff --git a/src/mounts/nfs/wrapper-v4.go b/src/export/nfs/wrapper-v4.go similarity index 100% rename from src/mounts/nfs/wrapper-v4.go rename to src/export/nfs/wrapper-v4.go diff --git a/src/mounts/webdav/fs.go b/src/export/webdav/fs.go similarity index 100% rename from src/mounts/webdav/fs.go rename to src/export/webdav/fs.go diff --git a/src/mounts/webdav/fs_test.go b/src/export/webdav/fs_test.go similarity index 100% rename from src/mounts/webdav/fs_test.go rename to src/export/webdav/fs_test.go diff --git a/src/mounts/webdav/handler.go b/src/export/webdav/handler.go similarity index 100% rename from src/mounts/webdav/handler.go rename to src/export/webdav/handler.go diff --git a/src/mounts/webdav/http.go b/src/export/webdav/http.go similarity index 100% rename from src/mounts/webdav/http.go rename to src/export/webdav/http.go