Try to turn a remote URL into a URL that can be used to, e.g.,
make GitHub API requests. That is, do not accept SSH URLs and
drop an ending .git
.
Equations
Instances For
@[inline]
Equations
Instances For
def
Lake.GitRepo.resolveRemoteRevision
(rev : String)
(remote : String := Git.defaultRemote)
(repo : GitRepo)
:
Equations
Instances For
def
Lake.GitRepo.findRemoteRevision
(repo : GitRepo)
(rev? : Option String := none)
(remote : String := Git.defaultRemote)
:
Equations
Instances For
@[inline]