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

C/C++ API Documentation | 2026.1

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

Creates a remote specification based on the provided filepath.

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

## Notes

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

Your search for returned results