Feature: Programmatic way to re-initialise repo #3717
Labels
good first issue
Good issue for new contributors
kind/enhancement
A net-new feature or improvement to an existing feature
P4
Very low priority
TheDiscordian commentedJun 15, 2021
Sometimes the repo corrupts, or can't be migrated (like here), and it needs to be manually deleted. This can be quite unintuitive for a user, and if a programmer wanted to handle it, I believe right now it'd be easiest to just create a new repo with a new name.
What I'm proposing is a function like
IPFS.remove(repo string)so the error could be caught and handled, with the repo able to be easily removed if necessary.The text was updated successfully, but these errors were encountered: