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 Nov 25, 2024
1 parent 7411ba1 commit f63e3ef
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 @@ -50,4 +50,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 @@ -43,4 +43,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 f63e3ef

Please sign in to comment.