| Age | Commit message (Collapse) | Author |
|
- 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.
|
|
- Add documentation comments to VaultConfig, Sheets, and VirtualFile modules
- Improve code documentation for better maintainability
|
|
- 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
|
|
Replace std::io::Error::new with std::io::Error::other for cleaner code
|
|
- 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
|
|
|
|
- Add test_sheet_creation_management_and_persistence with 3 test functions:
- Main test covering sheet creation, input/mapping management, persistence, and deletion
- Error condition testing for invalid operations
- Serialization testing through vault operations
- Test coverage includes:
- Sheet creation with member validation
- Input package addition and removal
- Mapping entry management
- File persistence and reloading
- Safe deletion to trash and restoration
- Permanent deletion
- Error handling for invalid operations
- Follows existing test patterns and uses proper getter methods for private fields
|
|
- 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
|
|
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Convert manual async functions to async fn syntax
- Replace assert_eq!(true/false, ...) with assert!(...) and assert!(!...)
- Fix useless vec warning by using array directly
- All tests continue to pass after optimizations
|
|
- Rename from_str to from_address_str in tcp_connection to avoid trait conflict
- Use ? operator instead of let...else patterns in local and vault initialization
- Replace manual string slicing with strip_prefix in virtual_file.rs
- All tests continue to pass after optimizations
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
`virtual_file.rs` 2. Add functions to VirtualFile 3. Add functions to
VirtualFileMeta
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
documents.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|