Deleted files counted
This commit is contained in:
@@ -252,6 +252,7 @@
|
|||||||
(let ((path-part (get-path-part info)))
|
(let ((path-part (get-path-part info)))
|
||||||
(unless (eq? path-part #f)
|
(unless (eq? path-part #f)
|
||||||
(let ((rm-path (build-path opus-path path-part)))
|
(let ((rm-path (build-path opus-path path-part)))
|
||||||
|
(set! deleted-files (+ deleted-files 1))
|
||||||
(delete-directory/files rm-path #:must-exist? #f)
|
(delete-directory/files rm-path #:must-exist? #f)
|
||||||
(let ((normalized-sub-path (hash-ref info 'path)))
|
(let ((normalized-sub-path (hash-ref info 'path)))
|
||||||
(hash-remove! file-db-hash normalized-sub-path))
|
(hash-remove! file-db-hash normalized-sub-path))
|
||||||
|
|||||||
Reference in New Issue
Block a user