Explorer

definy.snapshot-parts-hashes

description
The content hashes of the lists of parts from index
type
Fn(parts_list: List<List<@definy.stored-snapshot-part>>, index: Number) -> List<String>
expression
fn(parts_list$0, index$1) =>
  match @core.list-get(list: $0, index: $1) {
    #none(_) =>
      [],
    #some(parts$2) =>
      @core.list-concat(
        left: @core.list-map(
          T: @definy.stored-snapshot-part,
          U: String,
          f: fn(item$3) =>
            $3.content_hash,
          xs: $2
        ),
        right: @definy.snapshot-parts-hashes(parts_list: $0, index: @core.plus(left: $1, right: 1))
      )
  }
visibility
public
definy.snapshot-parts-hashes (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo)
id: WpLwxUPPTwaVELEjwT5cZemcJVWVRII9SFwRMg2Bj5s
content hash: KNts7pi_TRMNfwHljI4vt_jCoJOGyPUCI4CbpjtMRZU