source-files: this looks cleaner.
parent
ca6cf294fc
commit
24d345cdd9
|
@ -39,8 +39,8 @@ ERROR: invalid-source-file-path path ;
|
||||||
|
|
||||||
: reset-checksums ( -- )
|
: reset-checksums ( -- )
|
||||||
source-files get [
|
source-files get [
|
||||||
swap dup exists? [
|
over exists? [
|
||||||
utf8 file-lines swap record-checksum
|
[ utf8 file-lines ] dip record-checksum
|
||||||
] [ 2drop ] if
|
] [ 2drop ] if
|
||||||
] assoc-each ;
|
] assoc-each ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue