]> git.tuebingen.mpg.de Git - dss.git/commitdiff
Factor out find_removable_snapshot().
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 7 Feb 2019 19:49:19 +0000 (20:49 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 21 Sep 2019 13:10:50 +0000 (15:10 +0200)
Both the run and the prune subcommand contain code for picking a
suitable snapshot to remove, with slightly different semantics.

This is a preparatory patch for eliminating the differences between
the two implementations. It introduces a new helper which can be
shared. After this patch, only the run subcommand uses the helper. A
subsequent patch will convert the second caller, com_prune().


No differences found