FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kNode_SaveAsVirtual ( kNode  node,
const kChar path 
)

Creates the necessary content in the local file system to support simulating this node.

This function will create a new child directory in the specified parent directory. The name of the child directory will match the id of the node. If a directory with that name already exists, it will be deleted.

The contents of the new directory will contain the necessary storage and configuration files to support simulating this node as a virtual node.

Parameters
nodeNode object.
pathParent directory for virtual node directory.
Returns
Operation status.