Bool scs_newfolder(), Bool scs_delete() – Adobe Dreamweaver API Reference CS5 User Manual

Page 96

Advertising
background image

91

DREAMWEAVER API REFERENCE

The source control integration API

Last updated 8/27/2013

Arguments
void *connectionData, const char *localPathList[], const char *remotePathList[], const int numItems

•

The connectionData argument is a pointer to the agent’s data that passed into Dreamweaver during the

Connect()

call.

•

The localPathList argument is the list of local filenames or folder paths to put into the source control system.

•

The remotePathList argument is a mirrored list of remote filenames or folder paths.

•

The numItems argument is the number of items in each list.

Returns
A Boolean value:

true

if successful;

false

otherwise.

bool SCS_NewFolder()

Description
This function creates a new folder.

Arguments
void *connectionData, const char *remotePath

•

The connectionData argument is a pointer to the agent’s data that passed into Dreamweaver during the

Connect()

call.

•

The remotePath argument is the full path of the remote folder that the DLL creates.

Returns
A Boolean value:

true

if successful;

false

otherwise.

bool SCS_Delete()

Description
This function deletes a list of files or folders from the source control system.

Arguments
void *connectionData, const char *remotePathList[], const int numItems

•

The connectionData argument is a pointer to the agent’s data that passed into Dreamweaver during the

Connect()

call.

•

The remotePathList argument is a list of remote filenames or folder paths to delete.

•

The numItems argument is the number of items in remotePathList.

Returns
A Boolean value:

true

if successful;

false

otherwise.

Advertising