summaryrefslogtreecommitdiff
path: root/usr.sbin/rdsetroot
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2022-01-13 13:18:42 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2022-01-13 13:18:42 +0000
commitcf017c9839d7346d630456513c02b7f4cf6cb2c5 (patch)
treec75c667c34b42f02d9950869f60bafe124784a92 /usr.sbin/rdsetroot
parentea30a6cc1a219a8de8a50efc760426876d58aaa3 (diff)
Implement a RRDP_CLEAR message that instructs the parent to cleanup
the rrdp directory. This is used before a snapshot download to ensure that the snapshot is applied to a clean repo. Similar cleanup happens if the transfer fails. In that case remove the temp directory contents only. This uses a new function remove_contents() to remove everything below a base directory (a bit like rm -r X/*). OK tb@
Diffstat (limited to 'usr.sbin/rdsetroot')
0 files changed, 0 insertions, 0 deletions