Skip to content

Commit

Permalink
fix(model-datastructure): implement IKVEntryReference.toString
Browse files Browse the repository at this point in the history
  • Loading branch information
slisson committed Dec 10, 2024
1 parent a4fdf39 commit 8e9b5b4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,8 @@ class NonWrittenEntry<E : IKVValue> : IKVEntryReference<E> {
deserialized.isWritten = true
}
}

override fun toString(): String {
return hash
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,8 @@ class WrittenEntry<E : IKVValue>(
override fun write(store: IDeserializingKeyValueStore) {}

override fun getDeserializer(): (String) -> E = deserializer

override fun toString(): String {
return hash
}
}

0 comments on commit 8e9b5b4

Please sign in to comment.