Commit Graph

22 Commits

Author SHA1 Message Date
David Given
e1f2494966 Create a config module containing all the configuration, proto and flags
stuff.
2024-10-13 11:57:18 +02:00
David Given
ca940d1599 Refactor core libraries into their own library. 2024-10-01 20:36:53 +02:00
dg
dae9537472 Warning fixes. 2023-07-07 21:51:24 +00:00
dg
466c3c34e5 Replace the Error() object with an error() function which takes fmt
formatspecs, making for much cleaner code. Reformatted everything.

This actually happened in multiple steps but then I corrupted my local
repository and I had to recover from the working tree.
2023-05-09 20:59:44 +00:00
dg
a33cc5710c Be more rigorous about checking for invalid brother120fs filesystems --- even
though the filesystem is so simple that positively identifying it is quite
hard.
2022-12-02 19:54:58 +00:00
David Given
82f61eee12 Eliminate Location in favour of Layout. 2022-09-15 23:52:07 +02:00
David Given
1fea200582 Implement delete. Fix a pile of bugs. 2022-09-12 00:56:34 +02:00
David Given
55b8a62f64 Add Brother120 support for putting files. 2022-09-12 00:33:13 +02:00
David Given
b8b5509d49 Remember to add capabilities to the Brother filesystem. 2022-09-05 22:08:33 +02:00
David Given
80ec4407bc Attributes are now returned as part of the dirent. 2022-09-04 19:30:12 +02:00
David Given
92ae233f39 First draft of the filesystem browser works. 2022-09-04 17:59:56 +02:00
David Given
4c0971800d File metadata for CPMFS works. 2022-08-31 21:58:11 +02:00
David Given
c375b73db9 Dirents need to be shared. 2022-08-31 21:41:11 +02:00
David Given
a392b84d9b Filesystem metadata works on Brother 120. 2022-08-31 21:33:51 +02:00
David Given
d44b83e60d Some API tidying. 2022-08-31 20:01:58 +02:00
David Given
f753929e87 Writing files works in fatfs. 2022-08-30 22:51:31 +02:00
David Given
c9a58e9d57 Allow pulling files off disk. 2022-08-27 16:06:33 +02:00
David Given
8607f4af57 Add a mode field to the dirent structure. 2022-08-27 00:06:16 +02:00
David Given
8b9e153ac4 Use the new layout information for VFS access. 2022-08-25 23:23:07 +02:00
David Given
40d5d92dbc More API overhauling. 2022-08-25 21:40:21 +02:00
David Given
0cc3433d6d API cleanup; you can now view file metadata. 2022-08-25 19:37:41 +02:00
David Given
0e157af8d9 DFS and Brother120 can now list files (more or less). 2022-08-24 23:31:17 +02:00