definy.definition-lookup
- description
- The definition of the content hash (none if it is not read or not a definition)
- type
Fn(entries: List<@definy.definition-cache-entry>, content_hash: String) -> Union{#none, #some(@core.expression)}- expression
fn(entries$0, content_hash$1) =>
match @definy.definition-cache-find(entries: $0, content_hash: $1, index: 0) {
#some(entry$2) =>
$2.definition,
#none(_) =>
#none
}- visibility
- public
definy.definition-lookup (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo)
id: FUk8foAigHfQgFeEgdYySQ8w8g2YK11ORSOwoH-FYy4
content hash: KFjHhajx3_MqSpCQF8OQ38ROdUlPJNBsy74gxYfs5j8