Cleanup comments in README and Commit.kt
Test Workflow / Lint and test library (push) Successful in 16m49s
Details
Test Workflow / Lint and test library (push) Successful in 16m49s
Details
This commit is contained in:
parent
804778b0fc
commit
6cb4f82fce
|
@ -20,6 +20,7 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
// other dependencies
|
||||
implementation("net.koval.teamcity-gitea-test-task:tinyvm:0.1.0")
|
||||
}
|
||||
```
|
||||
|
|
|
@ -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"
|
||||
|
|
Reference in New Issue