Skip to content

Commit 64fe5c0

Browse files
nipunn1313Convex, Inc.
authored and
Convex, Inc.
committed
Add a snapshot_import endpoint for cloud import (#29993)
Rename to snapshot_import.rs GitOrigin-RevId: a79be16e6213d0746df684bf9c4b701921f68744
1 parent d00301e commit 64fe5c0

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

crates/local_backend/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ pub mod deploy_config;
8383
pub mod deploy_config2;
8484
pub mod environment_variables;
8585
pub mod http_actions;
86-
pub mod import;
8786
pub mod logs;
8887
pub mod node_action_callbacks;
8988
pub mod parse;
@@ -93,6 +92,7 @@ pub mod router;
9392
pub mod scheduling;
9493
pub mod schema;
9594
pub mod snapshot_export;
95+
pub mod snapshot_import;
9696
pub mod storage;
9797
pub mod subs;
9898

crates/local_backend/src/router.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,6 @@ use crate::{
6868
deploy_config2,
6969
environment_variables::update_environment_variables,
7070
http_actions::http_action_handler,
71-
import::{
72-
cancel_import,
73-
import,
74-
import_finish_upload,
75-
import_start_upload,
76-
import_upload_part,
77-
perform_import,
78-
prepare_import,
79-
},
8071
logs::{
8172
stream_function_logs,
8273
stream_udf_execution,
@@ -117,6 +108,15 @@ use crate::{
117108
get_zip_export,
118109
request_zip_export,
119110
},
111+
snapshot_import::{
112+
cancel_import,
113+
import,
114+
import_finish_upload,
115+
import_start_upload,
116+
import_upload_part,
117+
perform_import,
118+
prepare_import,
119+
},
120120
storage::{
121121
storage_get,
122122
storage_upload,

0 commit comments

Comments
 (0)