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