Commit graph

9 commits

Author SHA1 Message Date
2a75eab074 split the contents of fs.isfile and fs.isdirectory into its own function
and add more docs
2023-12-24 06:36:06 +13:00
fdcb8f794a remove errors.h 2023-12-24 06:34:51 +13:00
790ad50f2b implement fs.isfile and fs.isdirectory 2023-12-23 20:52:34 +13:00
aa7ae1d9ac implement fs.copy, a file copying routine and clean up some docs in fs 2023-12-23 20:33:24 +13:00
cae9985747 change BSD ifndefs to __OpenBSD__ and remove unnecessary ifdefs
I'm not sure if any operating system other than OpenBSD
has strlcpy/strlcat. May need to use a configure script
for this later on.
2023-12-23 16:33:38 +13:00
290289cbf5 Refactor and fix up a lot of code
Don't tell the boss I forgot a couple of free()s...
2023-11-26 17:13:41 +13:00
7ff02fbbb1 Move fs.basename and fs.dirname into the path library, create errors.h 2023-08-10 08:14:05 +12:00
6590351e48 Add fs.mkdir and fs.rmdir functions, improve lfs.c
- Add fs.mkdir
- Add fs.rmdir
- Change library description
- Re-order #includes
- Use #defines for error messages
2023-08-01 13:35:02 +12:00
84f58824b9 Rename the file module to fs, and make some documentation changes 2023-07-31 07:33:23 +12:00
Renamed from lfile.c (Browse further)