> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# addFile (Surround)

> Add a file to the repository. Target Properties Property Name Property Code Required Description Surround Executable FDSURROUND EXE PATH N Path to the

Add a file to the repository.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Surround Executable</td><td>`FDSURROUND_EXE_PATH`</td><td>N</td><td>Path to the Surround executable. Required only if Surround is not on PATH.</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Surround Instance</td><td>`FDSURROUND_INP_INSTANCE_CODE`</td><td>Y</td><td>The Surround Instance to use.</td></tr><tr><td>Branch</td><td>`FDSURROUND_INP_BRANCH`</td><td>Y</td><td>The branch to get from.</td></tr><tr><td>Folder</td><td>`FDSURROUND_INP_FOLDER`</td><td>Y</td><td>The folder in Surround to add from.</td></tr><tr><td>Sub Directory</td><td>`FDSURROUND_INP_DESTINATION_SUBDIRECTORY`</td><td>N</td><td>The sub directory under the temp directory to find the files.</td></tr><tr><td>File Names</td><td>`FDSURROUND_INP_FILE_NAMES`</td><td>Y</td><td>Relative path of files to add, seperated by a semicolon. Files are relative of Sub Directory input, or temp directory.</td></tr><tr><td>Comment</td><td>`FDSURROUND_INP_COMMENT`</td><td>N</td><td>Comment when adding the files. If none is provided will use 'add'.</td></tr></tbody></table>

# Artifacts

This operation doesn’t consume or produce any artifacts.

# Endpoint Selection

This operation will select all available endpoints associated to the Target.

# Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
