]> Kevux Git Server - kevux-tools/commit
Progress: Continue working on completing the remove program.
authorKevin Day <Kevin@kevux.org>
Wed, 26 Mar 2025 00:24:36 +0000 (19:24 -0500)
committerKevin Day <Kevin@kevux.org>
Wed, 26 Mar 2025 03:57:58 +0000 (22:57 -0500)
commitff8def1c6a94c6d80718e9d25c1f42fd1c23e662
treebc6eb985b5686c5f69cd3fee3a67d7f5a00bee75
parenteb9060051fe30a0832ff193a90233c7aa896b34f
Progress: Continue working on completing the remove program.

Add UNIX Timestamp tests.
Fix date changed tests where I forgot to reset temporary date loop variable assignment before committing.

Add the accessed and updated (modified) time tests.

When recursion is disabled and a directory is being followed, then prevent a double delete by not performing the delete on the "after" at the top level.

Implement the `--prompt` support.
Make sure to take in command line input.
Make sure to quit the program when prompt is one time and the answer is no.

Change the flag to 32-bit for consistency reasons.
29 files changed:
data/build/remove/settings-tests.remove
data/build/stand_alone/configs/remove-config.h
data/build/stand_alone/configs/tacocat-config.h
sources/c/program/kevux/tools/remove/main/common/print.c
sources/c/program/kevux/tools/remove/main/common/print.h
sources/c/program/kevux/tools/remove/main/common/type.c
sources/c/program/kevux/tools/remove/main/common/type.h
sources/c/program/kevux/tools/remove/main/operate.c
sources/c/program/kevux/tools/remove/main/operate.h
sources/c/program/kevux/tools/remove/main/preprocess.c
sources/c/program/kevux/tools/remove/main/preprocess.h
sources/c/program/kevux/tools/remove/main/print/debug.c
sources/c/program/kevux/tools/remove/main/print/debug.h
sources/c/program/kevux/tools/remove/main/print/message.c
sources/c/program/kevux/tools/remove/main/print/message.h
sources/c/program/kevux/tools/remove/main/print/simulate.c
sources/c/program/kevux/tools/remove/main/print/simulate.h
sources/c/program/kevux/tools/remove/main/print/verbose.c
sources/c/program/kevux/tools/remove/main/print/verbose.h
sources/c/program/kevux/tools/remove/main/remove.c
tests/unit/remove/c/test-remove-date_accessed.c [new file with mode: 0644]
tests/unit/remove/c/test-remove-date_accessed.h [new file with mode: 0644]
tests/unit/remove/c/test-remove-date_changed.c
tests/unit/remove/c/test-remove-date_updated.c [new file with mode: 0644]
tests/unit/remove/c/test-remove-date_updated.h [new file with mode: 0644]
tests/unit/remove/c/test-remove-unix.c [new file with mode: 0644]
tests/unit/remove/c/test-remove-unix.h [new file with mode: 0644]
tests/unit/remove/c/test-remove.c
tests/unit/remove/c/test-remove.h