xuset / planktos

Serving websites over bittorrent
https://xuset.github.io/planktos/
MIT License
538 stars 19 forks source link

Change public interface #64

Open xuset opened 7 years ago

xuset commented 7 years ago

In previous discussions we have concluded that a simpler public interface would be beneficial and include the following methods:

The remaining public methods should be removed from the public interface.

At this point update() should also be modified to remove the old snapshots once the new snapshot is loaded in.

Related to #45

georgeaf99 commented 7 years ago

Awesome! 👍🏻

georgeaf99 commented 7 years ago

I am not going to do a lot of refactoring here. We can make an issue later to remove all the code that manages multiple snapshots.