Explorer

core.module-part-ids

description
The module ID and the part IDs (in the order of part_names) of a module. The server uses this to know the IDs of the parts of a snapshot (docs/service.md)
type
Fn(module_name: String, part_names: List<String>) -> Record{module_id: String, part_ids: List<String>}
expression
fn(module_name$0, part_names$1) =>
  let bytes$2 = @core.module-id-bytes(module_name: $0);
  {
    module_id: @core.bytes-to-base64url(bytes: $2),
    part_ids: @core.part-ids-from(module_id_bytes: $2, part_names: $1, ids: [])
  }
visibility
public
core.module-part-ids (project definy, branch auto-release, snapshot oiQgPqhJm-TbM4kexXeRHBaJB_tS7gwBSewII64P-44)
id: MIwamaEJxubx0pFI-8HYzcybRS-RgMHoYce_dVUc1mo
content hash: MTZDcR1TPWAlLhgc54jx1uysr1MZ_1JuqDvwr46HEfU