blob: e4b98cd1940968cc56b27fe712dfb052aa2d3d04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// SPDX-License-Identifier: BSD-3-Clause
package org.islandoftex.arara.filehandling
import kotlinx.serialization.Serializable
/**
* The database model, which keeps track on file changes.
*
* This database is a map because it maps files to hashes. So the key will
* always be a file representation and the value always a string.
*
* @author Island of TeX
* @version 5.0
* @since 4.0
*/
@Serializable
data class Database(
/**
* The whole database is implemented as a map, where
* the key is the absolute canonical file and the value
* is its corresponding CRC32 hash.
*/
val map: MutableMap<String, String> = mutableMapOf()
) : MutableMap<String, String> by map
|