copy_file
Copies a file to a different path in the repository, retaining the original file at its original path.
Arguments
Name | Type | Description | Required |
---|---|---|---|
source_path | string | The relative path to the file (including filename) that needs to be copied to a new location. | |
destination_path | string | The relative path where the source file should be copied to. This path/file does not need to exist yet. |
Returns
Type | Description |
---|---|
string | The new path to the file that was copied to the new location. |
Example
Last updated