aboutsummaryrefslogtreecommitdiff
path: root/crates/vcs/src/data
Commit message (Collapse)AuthorAgeFilesLines
* refactor: Update sheet input handling and fix tests魏曹先生2025-09-262-13/+107
| | | | | | | | - 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
* refactor: Simplify error handling in vault setup魏曹先生2025-09-261-2/+1
| | | | Replace std::io::Error::new with std::io::Error::other for cleaner code
* feat: Automatically create host member and ref sheet during vault setup魏曹先生2025-09-262-13/+33
| | | | | | | - 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-262-8/+6
|
* refactor: convert InputPackage from tuple to named struct魏曹先生2025-09-262-8/+18
| | | | | | | | - 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-269-9/+377
| | | | | | | | | | | | | | - 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-259-0/+1198