FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kTar_WriteDirectory ( kTar  tar,
const kChar itemPath,
const kChar directoryPath 
)

Recursively adds a directory and its contents to an archive.

This convenience method recursively adds items from the directory path, using itemPath as the relative base directory name within the tar archive. It can be used in place of multiple kTar_BeginWrite() calls and associated streaming operations.

Parameters
tarkTar object.
itemPathRelative path of the directory item in the kTar object.
directoryPathFile system path of the source directory to be added.
Returns
Operation status.