Cleanup comments in README and Commit.kt
Test Workflow / Lint and test library (push) Successful in 16m49s Details

This commit is contained in:
Gleb Koval 2023-12-02 20:51:34 +00:00
parent 804778b0fc
commit 6cb4f82fce
Signed by: cyclane
GPG Key ID: 15E168A8B332382C
2 changed files with 1 additions and 1 deletions

View File

@ -20,6 +20,7 @@ repositories {
}
dependencies {
// other dependencies
implementation("net.koval.teamcity-gitea-test-task:tinyvm:0.1.0")
}
```

View File

@ -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"