Skip to content

SyncPluginInstance.onFileAdd method

SyncPluginInstance › onFileAdd

Unofficial

Create or update the local file record of a file or folder, and request a sync.

Signature:

onFileAdd(file: TAbstractFile): void

Parameters:

ParameterTypeDescription
fileTAbstractFileThe file or folder.

Returns: void