Esempio n. 1
0
 public static TarEntry CreateTarEntry(string name)
 {
     TarEntry entry = new TarEntry();
     entry.Initialize();
     entry.NameTarHeader(entry.header, name);
     return entry;
 }
Esempio n. 2
0
 public static TarEntry CreateEntryFromFile(string fileName)
 {
     TarEntry entry = new TarEntry();
     entry.Initialize();
     entry.GetFileTarHeader(entry.header, fileName);
     return entry;
 }