From ee17dca9e5bedef545aeb1fff06bfc228e07965f Mon Sep 17 00:00:00 2001 From: Adam Hathcock Date: Sat, 9 Jan 2021 13:36:30 +0000 Subject: [PATCH] Fix formatting --- src/SharpCompress/Common/GZip/GZipEntry.cs | 2 +- src/SharpCompress/Compressors/Deflate/GZipStream.cs | 4 ++-- tests/SharpCompress.Test/GZip/GZipArchiveTests.cs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/SharpCompress/Common/GZip/GZipEntry.cs b/src/SharpCompress/Common/GZip/GZipEntry.cs index 07a3d491..1204cfd7 100644 --- a/src/SharpCompress/Common/GZip/GZipEntry.cs +++ b/src/SharpCompress/Common/GZip/GZipEntry.cs @@ -19,7 +19,7 @@ namespace SharpCompress.Common.GZip public override string Key => _filePart.FilePartName; - public override string? LinkTarget => null; + public override string? LinkTarget => null; public override long CompressedSize => 0; diff --git a/src/SharpCompress/Compressors/Deflate/GZipStream.cs b/src/SharpCompress/Compressors/Deflate/GZipStream.cs index 84fc1379..ffc4759d 100644 --- a/src/SharpCompress/Compressors/Deflate/GZipStream.cs +++ b/src/SharpCompress/Compressors/Deflate/GZipStream.cs @@ -357,8 +357,8 @@ namespace SharpCompress.Compressors.Deflate _comment = value; } } - - + + public DateTime? LastModified { get => _lastModified; diff --git a/tests/SharpCompress.Test/GZip/GZipArchiveTests.cs b/tests/SharpCompress.Test/GZip/GZipArchiveTests.cs index 0fbb1602..5f4a7c22 100644 --- a/tests/SharpCompress.Test/GZip/GZipArchiveTests.cs +++ b/tests/SharpCompress.Test/GZip/GZipArchiveTests.cs @@ -26,7 +26,7 @@ namespace SharpCompress.Test.GZip long size = entry.Size; var scratch = new FileInfo(Path.Combine(SCRATCH_FILES_PATH, "Tar.tar")); var test = new FileInfo(Path.Combine(TEST_ARCHIVES_PATH, "Tar.tar")); - + Assert.Equal(size, scratch.Length); Assert.Equal(size, test.Length); } @@ -46,7 +46,7 @@ namespace SharpCompress.Test.GZip long size = entry.Size; var scratch = new FileInfo(Path.Combine(SCRATCH_FILES_PATH, "Tar.tar")); var test = new FileInfo(Path.Combine(TEST_ARCHIVES_PATH, "Tar.tar")); - + Assert.Equal(size, scratch.Length); Assert.Equal(size, test.Length); }