ServerHelperApi::SetDvcsDir(const char*)
Sets the root dir for the personal server.
Virtual? |
No |
|
Class |
||
Arguments |
|
full path to the root directory |
|
an Error object |
|
Returns |
|
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.