ServerHelperApi::SetDvcsDir(const char*)

Sets the root dir for the personal server.

Virtual?

No

 

Class

ServerHelperApi

 

Arguments

const char *path

full path to the root directory

 

Error *e

an Error object

Returns

int

returns 0 if there is an error, 1 if successful

Notes

Sets the directory that will be used to hold the personal server. The directory should not already have a personal server in it or InitLocalServer() will fail. SetDvcsDir() does not check for an existing server; use the Exists() method after running SetDvcsDir() to test for an existing personal server.