Beispiel #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;
 }
Beispiel #2
0
 public TarPath(TarPath parentTarPath, string directory)
 {
     _parentTarPath = parentTarPath;
     _tarFilename   = parentTarPath._tarFilename;
     _directory     = directory?.Replace('\\', '/');
 }