core.part-id
- description
- The part ID: Base64URL without padding of SHA-256 applied twice to the module ID bytes followed by the UTF-8 of ':part:' and the part name
- type
Fn(module_id_bytes: List<Number>, part_name: String) -> String
- expression
fn(module_id_bytes$0, part_name$1) =>
@core.bytes-to-base64url(
bytes: @core.sha256(
bytes: @core.sha256(
bytes: @core.list-concat(left: $0, right: @core.string-to-bytes(value: @core.string-concat(left: ":part:", right: $1)))
)
)
)- visibility
- public
core.part-id (project definy, branch main, snapshot CfIAXM725tR74SWd4aoTUz4-JJQfqnllblZbQ2Sv204)
id: Hr82bHoTOZHDd0jeQNLLvgYsDX1v3-Ekq-MUVs_cJp4
content hash: vFRkhCY62zjSQcXi9k-sAwySNciQaEKPxbXKUxYy2d0