diff options
author | nea <romangraef@gmail.com> | 2022-07-29 20:51:53 +0200 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-07-29 20:51:53 +0200 |
commit | f4bf70032a45b4daa7805ca38f2d820645dc9a6b (patch) | |
tree | dc91fa8e13b78ac9a7fcda24a26894e430f7fc84 /src/main/kotlin/moe/nea/notenoughupdates/repo/RepoDownloadManager.kt | |
parent | 386ee78026801bf50d9cba24de541ed087f145d6 (diff) | |
download | Firmament-f4bf70032a45b4daa7805ca38f2d820645dc9a6b.tar.gz Firmament-f4bf70032a45b4daa7805ca38f2d820645dc9a6b.tar.bz2 Firmament-f4bf70032a45b4daa7805ca38f2d820645dc9a6b.zip |
no arch
Diffstat (limited to 'src/main/kotlin/moe/nea/notenoughupdates/repo/RepoDownloadManager.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/notenoughupdates/repo/RepoDownloadManager.kt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/notenoughupdates/repo/RepoDownloadManager.kt b/src/main/kotlin/moe/nea/notenoughupdates/repo/RepoDownloadManager.kt new file mode 100644 index 0000000..47b2878 --- /dev/null +++ b/src/main/kotlin/moe/nea/notenoughupdates/repo/RepoDownloadManager.kt @@ -0,0 +1,17 @@ +package moe.nea.notenoughupdates.repo + +import moe.nea.notenoughupdates.NotEnoughUpdates + +object RepoDownloadManager { + + val repoSavedLocation = NotEnoughUpdates.DATA_DIR.resolve("repo-extracted") + val repoMetadataLocation = NotEnoughUpdates.DATA_DIR.resolve("loaded-repo.json") + + data class RepoMetadata( + var latestCommit: String, + var user: String, + var repository: String, + var branch: String, + ) + +} |