From 6cb4f82fce7144af971533078b19f5efb0345e25 Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Sat, 2 Dec 2023 20:51:34 +0000 Subject: [PATCH] Cleanup comments in README and Commit.kt --- README.md | 1 + src/main/kotlin/tinyvm/Commit.kt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1167f2f..1aa11e0 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ repositories { } dependencies { + // other dependencies implementation("net.koval.teamcity-gitea-test-task:tinyvm:0.1.0") } ``` diff --git a/src/main/kotlin/tinyvm/Commit.kt b/src/main/kotlin/tinyvm/Commit.kt index 6f2f9d4..36823e1 100644 --- a/src/main/kotlin/tinyvm/Commit.kt +++ b/src/main/kotlin/tinyvm/Commit.kt @@ -28,7 +28,6 @@ class Commit( val timestamp: Instant, ) : Object("commit") { override val data: String - // Use \n\n for end of header in-case additional metadata is implemented in the future. get() = "tree ${tree.hash()}\nauthor $author\ntimestamp ${timestamp.epochSecond}\n\n$message" override fun toString(): String = "commit ${hash()}\n$data"