Commit Graph

169 Commits

Author SHA1 Message Date
Rafał Harabień
6b6759802a Refactoring. 2017-09-24 03:08:00 +02:00
Rafał Harabień
894c2d34f3 Implement Iterator for FatDir. 2017-09-24 02:24:42 +02:00
Rafał Harabień
daa51e3540 Implement Seek trait for File and rewind method in Dir. 2017-09-24 02:10:59 +02:00
Rafał Harabień
8d974a6ee4 Add path traversal functions. 2017-09-24 00:05:43 +02:00
Rafał Harabień
50d020d05c Fix reading long files. 2017-09-23 22:22:25 +02:00
Rafał Harabień
e44d7fc6c2 Fix reading FAT32 root dir. 2017-09-23 21:53:32 +02:00
Rafał Harabień
c65d26bd2b Ignore LFN and fix handling of extension in filename.
Fixes fat12 and fat16 tests. Fat32 still doesnt work.
2017-09-23 21:29:11 +02:00
Rafał Harabień
8df86d24ef Add new test images and script for generating them - tests fail. 2017-09-23 21:24:34 +02:00
Rafał Harabień
b535b460f9 Implement reading files beyond cluster (untested). 2017-09-23 20:16:32 +02:00
Rafał Harabień
88fd442dac Refactor code to use shared state.
This way for example FatFile can implement Read trait.
2017-09-23 19:42:09 +02:00
Rafał Harabień
3933a29078 Implemented basic FAT table support. 2017-09-23 14:16:02 +02:00
Rafał Harabień
6b18dfd626 Don't read past end of file. 2017-09-23 00:22:31 +02:00
Rafał Harabień
dd23854cd5 Use typed attributes. 2017-09-22 23:36:44 +02:00
Rafał Harabień
65936f8f27 Restructure into proper crate. 2017-09-22 23:20:06 +02:00
Rafał Harabień
745328d2ad Add license and README. 2017-09-22 22:36:51 +02:00
Rafał Harabień
91ba151398 Add file read methods. 2017-09-22 22:27:39 +02:00
Rafał Harabień
c5ab2f94d5 Split reading dir and fs code into modules. 2017-09-22 20:50:41 +02:00
Rafał Harabień
2b235db1d9 Add functionality of reading directory. 2017-09-22 18:55:07 +02:00
Rafał Harabień
958f207ce6 Implemented reading FAT Boot Sector. 2017-09-22 02:13:29 +02:00