@@ -192,8 +192,8 @@ foreign import extractZip1Impl :: EffectFn1 FilePath (Promise FilePath)
192192
193193foreign import extractZip2Impl :: EffectFn2 FilePath FilePath (Promise FilePath )
194194
195- -- file: path to the zip
196- -- dest: destination directory. Defaults to randomly generated path
195+ -- | file: path to the zip
196+ -- | dest: destination directory. Defaults to randomly generated path
197197type ExtractZipArgs =
198198 { file :: FilePath
199199 , dest :: Maybe FilePath
@@ -416,11 +416,11 @@ type GetManifestFromRepoArgs =
416416 , branch :: Maybe String
417417 }
418418
419- -- Get list of releases from a repository
419+ -- | Get list of releases from a repository
420420getManifestFromRepo' :: { owner :: String , repo :: String } -> ExceptT Error Aff (Array IToolRelease )
421421getManifestFromRepo' { owner, repo } = getManifestFromRepo { owner, repo, auth: Nothing , branch: Nothing }
422422
423- -- Get list of releases from a repository
423+ -- | Get list of releases from a repository
424424getManifestFromRepo :: GetManifestFromRepoArgs -> ExceptT Error Aff (Array IToolRelease )
425425getManifestFromRepo =
426426 handleOptions
@@ -438,18 +438,18 @@ foreign import findFromManifest3Impl :: EffectFn3 String Boolean (Array JSIToolR
438438
439439foreign import findFromManifest4Impl :: EffectFn4 String Boolean (Array JSIToolRelease ) String (Promise (Nullable JSIToolRelease ))
440440
441- -- versionSpec: version to search for
442- -- stable: whether or not the release is stable
443- -- manifest: manifests to search
444- -- archFilter: architecture filter. Defaults to machine architecture
441+ -- | versionSpec: version to search for
442+ -- | stable: whether or not the release is stable
443+ -- | manifest: manifests to search
444+ -- | archFilter: architecture filter. Defaults to machine architecture
445445type FindFromManifestArgs =
446446 { versionSpec :: String
447447 , stable :: Boolean
448448 , manifest :: Array IToolRelease
449449 , archFilter :: Maybe String
450450 }
451451
452- -- Search list of releases from a repository
452+ -- | Search list of releases from a repository
453453findFromManifest :: FindFromManifestArgs -> ExceptT Error Aff (Maybe IToolRelease )
454454findFromManifest =
455455 handleOptions
0 commit comments