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