diff options
| author | Roman Smrž <roman.smrz@seznam.cz> | 2026-11-22 13:19:53 +0100 |
|---|---|---|
| committer | Roman Smrž <roman.smrz@seznam.cz> | 2026-11-25 21:05:37 +0100 |
| commit | 0e9a59771131d8d4325aafd4c48ff2ef1267077f (patch) | |
| tree | 06f8a4e867137a64afcee183cf32bc5f91d6f72e /src/Job | |
| parent | 52031c1ab31330f4316d0c78dc237854f760fa56 (diff) | |
Use commits for job set IDs
Diffstat (limited to 'src/Job')
| -rw-r--r-- | src/Job/Types.hs | 3 |
1 files changed, 3 insertions, 0 deletions
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 |