예제 #1
0
 public TarEntryFile(TarPath tarPath, TarEntry tarEntry, string path, long streamPosition)
     : base(path, System.IO.Path.GetFileName(path))
 {
     _tarPath        = tarPath;
     _tarEntry       = tarEntry;
     _streamPosition = streamPosition;
 }
예제 #2
0
파일: TarPath.cs 프로젝트: jonkeda/Tooling
 public TarPath(TarPath parentTarPath, string directory)
 {
     _parentTarPath = parentTarPath;
     _tarFilename   = parentTarPath._tarFilename;
     _directory     = directory?.Replace('\\', '/');
 }