public static ZDirectoryInfo GetDirectoryInfo(string archiveFile, string path) { ZipRWArchiveCache zrw = new ZipRWArchiveCache(archiveFile); var info = new ZDirectoryInfo(path, ref zrw); return info; }
public static ZDirectoryInfo GetDirectoryInfo(ref ZipRWArchiveCache zrw, string path,string parent="") { var info = new ZDirectoryInfo(path, ref zrw,parent); return info; }
public ZDirectoryInfo(string dirpath, ref ZipRWArchiveCache zrw, string parent="") { this.parent = parent; this.dirpath = dirpath; this.zrw = zrw; UpdateInfo(); }