replaceCurrentListings saves both ".lst-new" listings as ".lst"
()
| 375 | |
| 376 | // replaceCurrentListings saves both ".lst-new" listings as ".lst" |
| 377 | func (b *bisyncRun) replaceCurrentListings() { |
| 378 | b.handleErr(b.newListing1, "error replacing Path1 listing", bilib.CopyFileIfExists(b.newListing1, b.listing1), true, true) |
| 379 | b.handleErr(b.newListing2, "error replacing Path2 listing", bilib.CopyFileIfExists(b.newListing2, b.listing2), true, true) |
| 380 | } |
| 381 | |
| 382 | // revertToOldListings reverts to the most recent successful listing |
| 383 | func (b *bisyncRun) revertToOldListings() { |
no test coverage detected