definy.definition-cache-find
- description
- The entry of the content hash from index
- type
Fn(entries: List<@definy.definition-cache-entry>, content_hash: String, index: Number) -> Union{#none, #some(@definy.definition-cache-entry)}
- expression
fn(entries$0, content_hash$1, index$2) => match @core.list-get(list: $0, index: $2) { #some(entry$3) => match @core.equal(left: $3.content_hash, right: $1) { true => #some($3), false => @definy.definition-cache-find(entries: $0, content_hash: $1, index: @core.plus(left: $2, right: 1)) }, #none(_) => #none }
- visibility
- public
definy.definition-cache-find (project definy, branch release-time-compare, snapshot JJrRgQW_LZN6tN8CbYr1dN7HosqNTuIWWYx7ACbt1n0) id: ooT57cfUBDIdJI9SO-4MpHQs-9vkcC4o2s1WGVUOXlc content hash: U7J8XDbHNtBdskQbIIKQK6eQwWYuFt8mJsQXw4K9M7A