Documented the ArchiveList model in the library target.

This commit is contained in:
Javier Cicchelli 2025-03-12 00:45:22 +01:00
parent 08d296ef1a
commit eb72aebdf1

View File

@ -1,13 +1,17 @@
import Hummingbird
/// A model that provides the names of all the *DocC* archives that are contained at a certain folder in the file system.
struct ArchiveList: ResponseCodable {
// MARK: Properties
/// A list of *DocC* archive names extracted from a given folder in the file system.
let archives: [String]
// MARK: Initialisers
/// Initialises this model.
/// - Parameter archives: A list of archive names extracted from a given folder in the file system.
init(_ archives: [String]) {
self.archives = archives
}