This repository has been archived by the owner on Mar 25, 2023. It is now read-only.
Update Gitea.clone
to return tuple {:ok, path}
or {:error, reason}
#17
Labels
chore
a tedious but necessary task often paying technical debt
enhancement
New feature or request
help wanted
Extra attention is needed
priority-2
Second highest priority, should be worked on as soon as the Priority-1 issues are finished
T1h
Time Estimate 1 Hour
At the moment the
clone
function returns a string representing the path when the repository is cloned to.However there isn't a way to know when the clone function has failed:
gitea/lib/gitea.ex
Lines 149 to 164 in 0c2bb0e
We could update it to:
The text was updated successfully, but these errors were encountered: