copy_file
Copy a file up to 8 MiB with SHA-256 verification, ensuring no overwrites, and return a recoverable change ID.
Instructions
Copy one regular file <=8 MiB within an rw workspace. Require source SHA-256 and an absent destination with an existing parent. No recursive trees, links or overwrite. Returns a recoverable change_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| workspace | Yes | ||
| request_id | Yes | ||
| destination | Yes | ||
| expected_sha256 | Yes |