Sign in Join
FPDoc Onlineexperiment

TTarWriter.AddString procedure

Member of TTarWriterpublicIn unit LibTar

Add string as file data.

Declaration

pascal
procedure AddString(Contents: Ansistring; TarFilename: AnsiString; 
 FileDateGmt: TDateTime)

Arguments

Contents

Data for file entry.

TarFilename

Name for filename.

FileDateGmt

Timestamp for filename.

Description

AddString adds the string Contents as the data of an entry with file name TarFileName. This name should contain only forward slash path separators. The entry will be written with timestamp FileDateGmt.

The archive entry is written with the current owner data and permissions.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.