diff options
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 |