From 0e9a59771131d8d4325aafd4c48ff2ef1267077f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sun, 22 Nov 2026 13:19:53 +0100 Subject: Use commits for job set IDs --- src/Job/Types.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Job/Types.hs') diff --git a/src/Job/Types.hs b/src/Job/Types.hs index 204df60..96fcd0c 100644 --- a/src/Job/Types.hs +++ b/src/Job/Types.hs @@ -143,6 +143,9 @@ textJobIdPart = \case textJobId :: JobId -> Text textJobId (JobId ids) = T.intercalate ":" $ map textJobIdPart ids +textJobSetId :: JobSetId -> Text +textJobSetId (JobSetId ids) = T.intercalate ":" $ map textJobIdPart ids + parseJobRef :: Text -> JobRef parseJobRef = JobRef . parseJobRefParts -- cgit v1.2.3