diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-11-24 18:31:40 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-11-24 18:31:40 +0800 |
| commit | 8a7d65743d9058d5c087eafcf50c64afb9d6f2df (patch) | |
| tree | 254e88520bd75fd8dcb34f4f2f954745fe4a9639 /crates/vcs_data/src/constants.rs | |
| parent | 1ed7bbd4d1942502cf4da92b505c426830b6c48e (diff) | |
Implement file synchronization in track file action
- Add sync task processing for both local and remote operations - Use
temp files for secure download operations - Update file metadata after
successful synchronization - Add proper error handling and cleanup for
sync operations - Display sync progress with appropriate status symbols
Diffstat (limited to 'crates/vcs_data/src/constants.rs')
| -rw-r--r-- | crates/vcs_data/src/constants.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/vcs_data/src/constants.rs b/crates/vcs_data/src/constants.rs index 088f8b0..85b643e 100644 --- a/crates/vcs_data/src/constants.rs +++ b/crates/vcs_data/src/constants.rs @@ -79,6 +79,7 @@ pub const CLIENT_CONTENT_GITIGNORE: &str = "# Git support for JVCS Workspace cached members"; pub const CLIENT_FILE_VAULT_MODIFIED: &str = "./.jv/.vault_modified"; +pub const CLIENT_FILE_TEMP_FILE: &str = "./.jv/.temp/download/{temp_name}"; // ------------------------------------------------------------------------------------- |
