mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-09-10 20:35:38 +00:00
- Removed the requirement for the "destination" field in MoveResourceRequest, allowing it to be an empty string, which signifies moving to the root directory. - Updated related documentation in swagger.json, swagger.yaml, and docs.go to reflect the new behavior. - Adjusted the MoveResource function to handle cases where the destination is empty, ensuring proper path sanitization and resource movement semantics. - Enhanced test cases to cover scenarios involving moving resources to the root directory and handling conflicts appropriately.