Discuss this help topic in SecureBlackbox Forum

TElTarWriter.AddDirContents

TElTarWriter     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Adds directory contents to archive.

Declaration

[C#/Java]
    void AddDirContents(TElTarArchiveDirectoryEntry Parent, string Path, int Mode /* = 0 */, TElUStarTarHeader USTAR /* = null */);
    void AddDirContents(TElTarArchiveDirectoryEntry Parent, string Path, string Mask, int Mode /* = 0 */, TElUStarTarHeader USTAR /* = null */);
    void AddDirContents(string Path, int Mode /* = 0 */, TElUStarTarHeader USTAR /* = null */);
    void AddDirContents(string Path, string Mask, int Mode /* = 0 */, TElUStarTarHeader USTAR /* = null */);

[VB.NET]
    Sub AddDirContents(ByVal Parent As TElTarArchiveDirectoryEntry, ByVal Path As String, ByVal Mode As Integer = 0, ByVal USTAR As TElUStarTarHeader = Nothing)
    Sub AddDirContents(ByVal Parent As TElTarArchiveDirectoryEntry, ByVal Path As String, ByVal Mask As String, ByVal Mode As Integer = 0, ByVal USTAR As TElUStarTarHeader = Nothing)
    Sub AddDirContents(ByVal Path As String, ByVal Mode As Integer = 0, ByVal USTAR As TElUStarTarHeader = Nothing)
    Sub AddDirContents(ByVal Path As String, ByVal Mask As String, ByVal Mode As Integer = 0, ByVal USTAR As TElUStarTarHeader = Nothing)

[Pascal]
    procedure AddDirContents(Parent : TElTarArchiveDirectoryEntry; const Path : string; Mode: integer = 0; USTAR : TElUStarTarHeader = nil);
    procedure AddDirContents(Parent : TElTarArchiveDirectoryEntry; const Path : string; const Mask : string; Mode: integer = 0; USTAR : TElUStarTarHeader = nil);
    procedure AddDirContents(const Path : string; Mode: integer = 0; USTAR : TElUStarTarHeader = nil);
    procedure AddDirContents(const Path : string; const Mask : string; Mode: integer = 0; USTAR : TElUStarTarHeader = nil);

[C++]
    void AddDirContents(TElTarArchiveDirectoryEntry &Parent, const std::string &Path, int32_t Mode, TElUStarTarHeader &USTAR);
    void AddDirContents(TElTarArchiveDirectoryEntry *Parent, const std::string &Path, int32_t Mode, TElUStarTarHeader *USTAR);
    void AddDirContents(const std::string &Path, int32_t Mode, TElUStarTarHeader &USTAR);
    void AddDirContents(const std::string &Path, int32_t Mode, TElUStarTarHeader *USTAR);
    void AddDirContents(TElTarArchiveDirectoryEntry &Parent, const std::string &Path, const std::string &Mask, int32_t Mode, TElUStarTarHeader &USTAR);
    void AddDirContents(TElTarArchiveDirectoryEntry *Parent, const std::string &Path, const std::string &Mask, int32_t Mode, TElUStarTarHeader *USTAR);
    void AddDirContents(const std::string &Path, const std::string &Mask, int32_t Mode, TElUStarTarHeader &USTAR);
    void AddDirContents(const std::string &Path, const std::string &Mask, int32_t Mode, TElUStarTarHeader *USTAR);

[PHP]
    void AddDirContents(TElTarArchiveDirectoryEntry $Parent, string $Path, integer $Mode, TElUStarTarHeader $USTAR)
    void AddDirContents(string $Path, integer $Mode, TElUStarTarHeader $USTAR)
    void AddDirContents(TElTarArchiveDirectoryEntry $Parent, string $Path, string $Mask, integer $Mode, TElUStarTarHeader $USTAR)
    void AddDirContents(string $Path, string $Mask, integer $Mode, TElUStarTarHeader $USTAR)

Parameters

  • Mode - ...
  • Parent - directory to which the content should be added. If omitted, root entry is used.
  • Path - path to the directory which contents should be added
  • Mask - the mask to match the files in the directory
  • USTAR - ...

Description

    Use this method to add directory contents to the archive.

    Files are chosen by mask which can be a simple mask, set of masks or a regular expression (read more about masks).

See also:     About file masks and regular expressions     Add     MakeDir    

Discuss this help topic in SecureBlackbox Forum