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();