lib.util.copy(): Move closure __copy_tree() to top #164

Merged
Jan Lindemann merged 1 commit from jan/fix/20261102-lib-util-copy-move-closure-copy-tree-to-top into master 2026-11-02 16:52:35 +01:00 AGit

2026-11-02

lib.util.copy(): Move closure __copy_tree() to top
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 4m33s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 4m57s
CI / Packaging test (pull_request) Successful in 0s
__copy_tree() is a closure inside copy(), and per janware coding
conventions, closures should be defined at the top of a function with
preceding code, so move it to the top of copy().

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-11-02 16:39:13 +01:00