pub fn resolve_artifact_bytes<S: BuildHasher>(
artifacts: &HashMap<ArtifactId, ArtifactValue, S>,
artifact_id: &ArtifactId,
property: Option<&str>,
) -> Result<Vec<u8>, ExecutionError>Expand description
Resolve an artifact reference to byte content.
§Arguments
artifacts- The artifact store fromActionContextartifact_id- The artifact IDproperty- Optional subproperty (e.g., “private” or “public”)
§Returns
The resolved bytes, or an error if resolution fails.
§Supported references
artifact_id→ full artifact contentartifact_id+ “private” → private key from keypairartifact_id+ “public” → public key from keypair