From 5ab0bd0b7894a03b75e88c4bda43331dc25146ed Mon Sep 17 00:00:00 2001 From: Glax Date: Fri, 7 Mar 2025 13:26:25 +0100 Subject: [PATCH] Chapter short Documentation update --- API/Schema/Chapter.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/API/Schema/Chapter.cs b/API/Schema/Chapter.cs index 97cf2f9..d592b84 100644 --- a/API/Schema/Chapter.cs +++ b/API/Schema/Chapter.cs @@ -84,7 +84,7 @@ public class Chapter : IComparable } /// - /// Creates full file path of chapter-archive + /// Creates full file path of chapter-archive /// /// Filepath internal string GetArchiveFilePath() @@ -92,6 +92,10 @@ public class Chapter : IComparable return Path.Join(TrangaSettings.downloadLocation, ParentManga.FolderName, ArchiveFileName); } + /// + /// Checks the filesystem if an archive at the ArchiveFilePath exists + /// + /// True if archive exists on disk public bool IsDownloaded() { string path = GetArchiveFilePath();