Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

C/C++ API Documentation | 2025.2

# ServerHelperApi::PrepareToCloneRemote(ServerHelperApi*,const StrPtr*,ClientUser*,Error*)

Creates a remote specification based on the provided remote from the shared server.

Virtual? | No |
Class | `ServerHelperApi` |
Arguments | `ServerHelperApi *remote` | ServerHelperApi object representing the shared server
| `const StrPtr *remote` | name of remote spec on shared server
| `Error *e` | a pointer to an Error object
Returns | `int` | returns 1 if successful

## Notes

See the `const char *` version of `PrepareToCloneRemote()` for details.

## See also

`ServerHelperApi::PrepareToCloneFilepath()`

Your search for returned results