]> Kevux Git Server - fll/commit
Bugfix: Ensure that fl_directory_do() depth 0 may still list directory contents.
authorKevin Day <Kevin@kevux.org>
Sun, 9 Mar 2025 22:03:20 +0000 (17:03 -0500)
committerKevin Day <Kevin@kevux.org>
Sun, 9 Mar 2025 22:24:10 +0000 (17:24 -0500)
commit5828314cd05de720fbb644a4230b3d6ba68a2525
treef08f73ebcc1c3124f853b64866e583167c8cf859
parent2bcc90c1d29a243c85ea083519dca4b575cfcce6
Bugfix: Ensure that fl_directory_do() depth 0 may still list directory contents.

The caller may want to check if there are any files within the directory when the max depth is 0.
Load the directory listing if the list flag is passed even when max depth is 0.
level_1/fl_directory/c/directory.c