FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kTar_Find ( kTar  tar,
const kChar itemPath,
kBool isDirectory,
k64u fileSize 
)

Convenience method to find a file or directory in an archive.

This method finds a file or directory in an archive. It can be used instead of manually iterating over all items using kTar_BeginRead. Similar to kTar_BeginRead, it can only forward-seek.

Parameters
tarkTar object.
itemPathRelative path of the item in the kTar object.
isDirectoryReceives if object a directory.
fileSizeReceives size of the item.
Returns
Operation status (kERROR_NOT_FOUND if item not found).