aboutsummaryrefslogtreecommitdiff
path: root/crates/vcs/src/data/vault
Commit message (Collapse)AuthorAgeFilesLines
* Add incremental transfer functionality and update core components魏曹先生2025-09-291-1/+3
| | | | | | | | - Implement instance_incremental_transfer module for efficient file synchronization - Add support for chunk-based file transfer with hash comparison - Update TCP connection utilities to support incremental transfer protocol - Enhance error handling and version management for file synchronization - Update dependencies and integrate new functionality into main library
* feat(tcp_connection): add MessagePack serialization support魏曹先生2025-09-261-4/+14
| | | | | | | | | | | | - Add rmp-serde dependency for MessagePack serialization - Implement write_msgpack and read_msgpack methods for basic MessagePack support - Add write_large_msgpack and read_large_msgpack methods for chunked transmission - Add error conversions for rmp-serde errors - Add comprehensive tests for MessagePack functionality - Fix code formatting and improve readability - Make stream field pub(crate) for better access control All tests pass successfully, ensuring backward compatibility.
* docs: Add module-level documentation comments魏曹先生2025-09-263-0/+3
| | | | | - Add documentation comments to VaultConfig, Sheets, and VirtualFile modules - Improve code documentation for better maintainability
* feat: Automatically create host member and ref sheet during vault setup魏曹先生2025-09-261-11/+14
| | | | | | | - Add VAULT_HOST_NAME constant for 'host' member - Modify setup_vault to automatically register host member and create ref sheet - Update test assertions to account for the additional ref sheet - Fix code formatting in sheets.rs
* Fixed by clippy魏曹先生2025-09-261-7/+5
|
* refactor: convert InputPackage from tuple to named struct魏曹先生2025-09-261-3/+3
| | | | | | | | - Replace tuple-based InputPackage with named struct for better type safety - Add proper field names and documentation - Fix typo in InputRelativePathBuf type name - Update add_input and remove_input methods to work with new struct - Maintain serialization compatibility with derive attributes
* feat: add sheet management system for vaults魏曹先生2025-09-264-5/+260
| | | | | | | | | | | | | | - Add Sheet struct with holder, inputs, and mapping functionality - Implement SheetData with serialization support - Add sheets.rs with vault sheet management methods: - Load all sheets in vault - Search for sheet names - Read individual sheets - Create new sheets with validation - Delete sheets (both permanently and safely to trash) - Restore sheets from trash - Update data module to include sheet submodule - Minor fixes and improvements to related modules
* Move `workspace` mod to `data`魏曹先生2025-09-253-0/+656