示例#1
0
		public static ZDirectoryInfo GetDirectoryInfo(string archiveFile, string path)
		{
			ZipRWArchiveCache zrw = new ZipRWArchiveCache(archiveFile);
			var info = new ZDirectoryInfo(path, ref zrw);
			return info;
		}
示例#2
0
		public static ZDirectoryInfo GetDirectoryInfo(ref ZipRWArchiveCache zrw, string path,string parent="")
		{
			var info = new ZDirectoryInfo(path, ref zrw,parent);
			return info;
		}
示例#3
0
		public ZDirectoryInfo(string dirpath, ref ZipRWArchiveCache zrw, string parent="")
		{
			this.parent = parent;
			this.dirpath = dirpath;
			this.zrw = zrw;
			UpdateInfo();
		}