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
Owner

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

__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().

#### lib.util.copy(): Move closure __copy_tree() to top `__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()`.
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
159c72e63b
__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>
Jan Lindemann scheduled this pull request to auto merge when all checks succeed 2026-11-02 16:39:16 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
janware/jw-pkg!164
No description provided.