cleanup: Add "target" option for cleanup config 03/230603/5 accepted/tizen/unified/20200422.123202 submit/tizen/20200421.052338
authorYunmi Ha <yunmi.ha@samsung.com>
Mon, 13 Apr 2020 03:40:30 +0000 (12:40 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Thu, 16 Apr 2020 01:25:28 +0000 (10:25 +0900)
commit6b8cf094c6552f8a9fb580428f60fc84e8e9fa31
treeab61d13cecb03a372ade20a9bc0398ba1a5f1297
parenta59af752906449d9c2f6a8a8f4b9e3f0786a1639
cleanup: Add "target" option for cleanup config

target has 3 options.
- all : delete all subfiles including the root path
- file : delete all subfiles excluding the root path
- oldfile : delete all old files which has "*.[0-9]" format

Change-Id: I4213be3c764272ebf2bed5e50c05f0d541ac88cc
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
src/storage/cleanup.c
src/storage/cleanup_config.c
src/storage/cleanup_config.h
src/storage/sample-cleanup-storage.conf