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

Adds a file to the tar archive by reading the file contents from a source file.

This convenience method can be used instead of the combination of kTar_BeginWrite and streaming operations.

Parameters
tarkTar object.
itemPathRelative path of the item in the kTar object.
filePathFile system path to the source file.
Returns
Operation status.