]> Kevux Git Server - fll/commit
Update: Change fl_directory_do() to make the action optional as well.
authorKevin Day <Kevin@kevux.org>
Sun, 27 Apr 2025 02:46:04 +0000 (21:46 -0500)
committerKevin Day <Kevin@kevux.org>
Sun, 27 Apr 2025 02:46:04 +0000 (21:46 -0500)
commiteeab96706d4dcb4701cb5ec03fc76f0617d2da82
tree539f003facd1ee976390d97471d36fedfde63f8d
parent20d8e970e41c28f9eb462d2fb0484787775e836f
Update: Change fl_directory_do() to make the action optional as well.

The action flag for `fl_directory_do()` should also be optional.
Adjust the code so that recursion still happens even if the action flag is not set.

This better allows for cases where the before is to be used but the action itself is not needed.
This happens to be the case with Featureless Make.

Add additional helper flags.

Improve documentation comments.
Add a warning about setting the top string to a string that is changed during recursion.
level_0/f_directory/c/directory/common.h
level_1/fl_directory/c/directory.c
level_1/fl_directory/c/directory.h
level_1/fl_directory/c/private-directory.c