]> Kevux Git Server - fll/commit
Update: Redesign f_file functions to not need struct stat passed and other improvements.
authorKevin Day <thekevinday@gmail.com>
Sun, 17 Apr 2022 23:18:04 +0000 (18:18 -0500)
committerKevin Day <thekevinday@gmail.com>
Sun, 17 Apr 2022 23:26:47 +0000 (18:26 -0500)
commitaa5838d6d3a1b1c15630cd4e4688aa16a9acf57c
tree12c54e0d7370869d6f024cf6f776c00474750f55
parent937f758c6648b3ff18854ca5d28679fbcb008c7d
Update: Redesign f_file functions to not need struct stat passed and other improvements.

While working on unit tests I noticed that passing struct stat seems inconsistent.

While there is likely a performance gain of not having to call the stat() functions, the inconsistency is undesirable.

Optimizations can be done under another API series.

Add missing path.used check.
level_0/f_file/c/file.c
level_0/f_file/c/file.h
level_0/f_file/c/private-file.c
level_0/f_file/c/private-file.h
level_0/f_file/tests/unit/c/test-file-copy.c
level_0/f_file/tests/unit/c/test-file-link_read.c
level_0/f_file/tests/unit/c/test-file-link_read_at.c
level_0/f_file/tests/unit/c/test-file-mode_read.c
level_0/f_file/tests/unit/c/test-file-mode_read_at.c
level_0/f_file/tests/unit/c/test-file.c