You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create / get endpoint to show the users the ui that allows them to enter the url of repo.
create /result/{md5} get to show the result to users and if the result i cashed it should be shown or show the time that the result is created.
create /{repo address} to clone(without its submodules) and perform tokei . -o json then store the result in redis for 3 days then redirect them to /result/{md5} to see their result.
potential issues:
make sure the cloned repo gets removed after gaining the tokei results
make sure it stores in redis for 3 days
make sure you aren't cloning a chased repo if so just need to redirect them to /result/{md5}
p.s: the {md5} is a hash string of the repo url
The text was updated successfully, but these errors were encountered:
potential issues:
p.s: the {md5} is a hash string of the repo url
The text was updated successfully, but these errors were encountered: