Remove libfileis(3) #11

Closed
trinity wants to merge 0 commits from rmlibfileis into main
Owner

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.

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.
trinity added 2 commits 2023-12-25 17:58:12 -07:00
trinity requested review from emma 2023-12-25 17:59:25 -07:00
emma closed this pull request 2023-12-25 19:03:42 -07:00
trinity deleted branch rmlibfileis 2023-12-25 21:02:25 -07:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
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: bonsai/harakit#11
No description provided.