Version 0.6.0 -- Apr. 06, 2015
Added:
-- User function Entry_GetUsedSize
---- Returns total used size of entry in archive.
---- (Was only reason for unreleased 0.5.1)
-- User functions Copy2TarByIdx and Copy2TarByName
---- To copy entries from one archive to another
-- User sub PreserveAccessTimes
---- To keep local access times same when adding files to archive.
-- User subs SetAddOption and SetExtractOption
---- What to do if file exists in archive AND on system.
-- User sub Toggle_FileBackups
---- Turns on or off background backups of current archive.
-- "Support" for Linux 'linked' files.
----
ALL CODE DEALING WITH LINKS HAVE NOT BEEN TESTED!
---- Windows has a 'plug-in?' to create Symbolic links, but not with 'normal' set up.
-- User sub SetReportVerbose
---- Prints to screen certain events.
-- User function GetEntryCountOnOpen
---- returns count of entries upon opening of archive.
---- current count retrieved by the Entry_GetCount function
-- User function GetEntriesAdded
---- Count of number of entries added to archive.
-- User function GetEntriesDeleted
---- Count of number of entries removed from archive.
-- User function GetEntriesUpdated
---- Count of number of entries updated in archive.
Change:
-- TarOpen function: the CreateFlag (second praram) is ignored.
---- And will be removed totally or assigned different use in a later release.
-- Freebasic > 1.00 allowing variable length UDT String arrays.
---- Modified storage of backup file names to regular string array.
-- File dates and times are now only changed to a 'Double' when needed.
---- Stored as 'LTime', my implentation of Linux's 'timespec'. Which is the standard for tar.
Fix:
-- The original source, do not have anymore or where it came from, gave 'magic' mode number for folder and file entries.
---- The magic number for a folder was 1003 decimal. WRONG!
Library and sample code:
http://www.mediafire.com/download/x8356 ... -06-00.zip
http://www.mediafire.com/download/yar3q ... -00.tar.gz
Source code:
http://www.mediafire.com/download/pfdaj ... rce.tar.gz
http://www.mediafire.com/download/s0v87 ... Source.zip