The previous Clone function was dangled impetuously on the FileSystem type, basically on the assumption that it would be great to be passed just a Loader. That was pretty dumb though, because each type of Stasher shouldn't need to rewrite the overall Clone logic. Associating it instead with the Repository interfaces makes way more sense.
The previous Clone function was dangled impetuously on the
FileSystem
type, basically on the assumption that it would be great to be passed just a Loader. That was pretty dumb though, because each type of Stasher shouldn't need to rewrite the overall Clone logic. Associating it instead with the Repository interfaces makes way more sense.