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 11, 2024
1 parent dd1fe1d commit 01812f5
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 01812f5

Please sign in to comment.