public ArchiveAndHarddiskCopyAndMoveTest() { archivePath = Path.Combine(Path.GetTempPath(), KosTestDirectory); archive = PrepareArchive(archivePath); harddisk = new Harddisk(1000); }
public void Setup() { if (Directory.Exists(testPath)) { Directory.Delete(testPath, true); } Directory.CreateDirectory(testPath); TestVolume = new Archive(testPath); }
public ArchiveFile(Archive archive, FileInfo fileInfo, VolumePath path) : base(archive, path) { this.fileInfo = fileInfo; }
public ArchiveDirectory(Archive archive, VolumePath path) : base(archive, path) { this.archive = archive; this.archivePath = archive.GetArchivePath(path); }