ReadTarFileFromStream (open)
Reads the contents of a tar file from a file stream
Syntax
LOADLIB "wh::filetypes/archiving.whlib";
RECORD ARRAY FUNCTION ReadTarFileFromStream(INTEGER tarstream)
Parameters
INTEGER tarstream
Tar file stream
Return value
RECORD ARRAY
List of entries in the tar-file
BLOB data
Data (only for files)
DATETIME modtime
Modification date
STRING name
Name of the entry
INTEGER type
Type (1: directory, 2: file)