public ZipArchiveEntryFile(ZipFileSystem root, ZipArchiveEntry entry) { this.root = root; this.entry = entry; this.fullname = entry.FullName.Replace('\\', '/'); this.name = entry.Name; }
public ZipArchiveEntryFile(ZipFileSystem root, string fullname) { this.root = root; this.fullname = fullname; this.name = fullname.PostLastCharacter("/\\", fullname); }
public ZipArchiveEntryDirectory(ZipFileSystem root, TOCDirectory directory) { this.root = root; this.directory = directory; }