FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kTar_Archive ( const kChar sourcePath,
kStream  destStream 
)

Archives a file or directory to a destination stream.

This convenience method archives a file or directory. If sourcePath is a directory, the directory itself is archived with path names relative to (and including) the top level directory name.

Parameters
sourcePathSource file or directory.
destStreamDestination stream.
Returns
Operation status.