Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
spatten committed Sep 3, 2024
1 parent c386165 commit 70daff0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Srclib/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ renderLocator :: Locator -> Text
renderLocator Locator{..} =
locatorFetcher <> "+" <> locatorProject <> "$" <> fromMaybe "" locatorRevision

-- The projectId is the full locator of the project. E.g. custom+123/someProject (<fetcher>+<orgId>/<project-name>)
projectId :: Locator -> Text
projectId Locator{..} =
locatorFetcher <> "+" <> locatorProject
Expand Down

0 comments on commit 70daff0

Please sign in to comment.