Documented the ArchiveList model in the library target.
This commit is contained in:
parent
08d296ef1a
commit
eb72aebdf1
@ -1,13 +1,17 @@
|
|||||||
import Hummingbird
|
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 {
|
struct ArchiveList: ResponseCodable {
|
||||||
|
|
||||||
// MARK: Properties
|
// MARK: Properties
|
||||||
|
|
||||||
|
/// A list of *DocC* archive names extracted from a given folder in the file system.
|
||||||
let archives: [String]
|
let archives: [String]
|
||||||
|
|
||||||
// MARK: Initialisers
|
// MARK: Initialisers
|
||||||
|
|
||||||
|
/// Initialises this model.
|
||||||
|
/// - Parameter archives: A list of archive names extracted from a given folder in the file system.
|
||||||
init(_ archives: [String]) {
|
init(_ archives: [String]) {
|
||||||
self.archives = archives
|
self.archives = archives
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user