We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c8adf0e + 2087add commit 9833c49Copy full SHA for 9833c49
workflow-runtime/src/main/java/com/squareup/workflow/TreeSnapshot.kt
@@ -116,16 +116,3 @@ class TreeSnapshot internal constructor(
116
}
117
118
119
-
120
-internal fun TreeSnapshot.asSnapshot(): Snapshot = Snapshot.of(::toByteString)
121
122
-/**
123
- * Parses a full [TreeSnapshot] from [snapshot], which must have been created by [asSnapshot].
124
- */
125
-internal fun TreeSnapshot.Companion.parseFrom(snapshot: Snapshot?): TreeSnapshot =
126
- snapshot?.let {
127
- parse(
128
- Buffer().write(it.bytes)
129
- .readByteString()
130
- )
131
- } ?: NONE
0 commit comments