aboutsummaryrefslogtreecommitdiff
path: root/crates/vcs/src/data/sheet.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove old vcs directory after migration to vcs_data魏曹先生2025-10-061-347/+0
| | | | | | - Delete entire crates/vcs directory and its contents - Remove test files and configuration from old structure - Complete transition to new vcs_data and vcs_actions architecture
* Add incremental transfer functionality and update core components魏曹先生2025-09-291-20/+143
| | | | | | | | - 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-0/+9
| | | | | | | | | | | | - 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.
* refactor: Update sheet input handling and fix tests魏曹先生2025-09-261-10/+106
| | | | | | | | - Modify Sheet::add_input to accept InputPackage instead of separate parameters - Use output_mappings method to generate InputPackage in tests - Update test assertions to match new path transformation logic - Fix mapping count assertions after adding multiple mappings - Clean up string_proc module structure
* Fixed by clippy魏曹先生2025-09-261-1/+1
|
* refactor: convert InputPackage from tuple to named struct魏曹先生2025-09-261-5/+15
| | | | | | | | - 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-261-0/+109
- 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