last commit was wrongly placed
This commit is contained in:
@@ -358,6 +358,11 @@
|
|||||||
|
|
||||||
(define (log-processed-file base-path path info)
|
(define (log-processed-file base-path path info)
|
||||||
(dbg-am "processing ~a" path)
|
(dbg-am "processing ~a" path)
|
||||||
|
|
||||||
|
(let ((re #px"Willi Bos"))
|
||||||
|
(when (regexp-match re (path->string path))
|
||||||
|
(info-am "Hey: ~a - ~a" (basename path) info)))
|
||||||
|
|
||||||
(if (eq? (hash-ref info 'type) 'dir)
|
(if (eq? (hash-ref info 'type) 'dir)
|
||||||
(set! processed-dirs (+ processed-dirs 1))
|
(set! processed-dirs (+ processed-dirs 1))
|
||||||
(begin
|
(begin
|
||||||
|
|||||||
@@ -142,7 +142,7 @@
|
|||||||
(let ((perc (quotient (* k 100) count)))
|
(let ((perc (quotient (* k 100) count)))
|
||||||
(when (and (= (remainder perc 10) 0) (> perc last-perc))
|
(when (and (= (remainder perc 10) 0) (> perc last-perc))
|
||||||
(set! last-perc perc)
|
(set! last-perc perc)
|
||||||
(info-am "get-deleteed: ~a%" perc)))
|
(info-am "get-deleted: ~a%" perc)))
|
||||||
(let ((v (store-ref db-store key)))
|
(let ((v (store-ref db-store key)))
|
||||||
(eq? (hash-ref v 'file-db) 'unknown)))
|
(eq? (hash-ref v 'file-db) 'unknown)))
|
||||||
keys))))
|
keys))))
|
||||||
@@ -166,8 +166,6 @@
|
|||||||
)
|
)
|
||||||
(set! walker-count (+ walker-count 1))
|
(set! walker-count (+ walker-count 1))
|
||||||
(let-values (((base-path* path* info*) (file-admin base-path path info)))
|
(let-values (((base-path* path* info*) (file-admin base-path path info)))
|
||||||
(when (eq? info* #f)
|
|
||||||
(store-commit db-store))
|
|
||||||
(values base-path* path* info*)))))
|
(values base-path* path* info*)))))
|
||||||
(deleted #f))
|
(deleted #f))
|
||||||
(init-db-sweep)
|
(init-db-sweep)
|
||||||
@@ -182,7 +180,10 @@
|
|||||||
(let-values (((base-path path info) (fw)))
|
(let-values (((base-path path info) (fw)))
|
||||||
(if (eq? info #f)
|
(if (eq? info #f)
|
||||||
(begin
|
(begin
|
||||||
|
(info-am "LAST COMMIT")
|
||||||
|
(store-commit db-store)
|
||||||
(set! deleted (get-deleted))
|
(set! deleted (get-deleted))
|
||||||
|
(info-am "Got ~a deleted entries" (length deleted))
|
||||||
(f))
|
(f))
|
||||||
(values base-path path info))
|
(values base-path path info))
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user