Remove libfileis(3) #11
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "rmlibfileis"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Having a library like libfileis(3) in the src/ directory is an exception to the "one file, one program" unofficial rule every other file follows. libfileis isn't necessary for scrut(1) and was removed from scrut because it wasn't a great solution for scrut in particular, stat(3)ing each specified file for every condition the file had to pass (like:
for file in args { for test in tests { stat(3) file, check struct stat buffer for test } }
).libfileis' greatest utility to me as the writer is as a reference for how to check all of its included conditions, not as code to actually be run.
Pull request closed