Rafał Harabień
2304b13ec4
Take immutable self reference in Dir methods
...
Dir methods do not change Dir object itself. They usually clone inner
stream so no change really happens self struct. Underlying partition is
modified but it does not have to affect API. For example see
std::fs::File::set_len. This change greatly simplifies rename API usage.
2018-06-12 00:07:30 +02:00
Rafał Harabień
1656540eac
Simplify code by using Self in return type
2018-06-06 17:16:32 +02:00
Rafał Harabień
75a6c32360
Add derived traits for FsStatusFlags and add Eq for some structs
2018-06-06 14:29:38 +02:00
Rafał Harabień
66c976bc3b
Add method for renaming/moving a file
2018-06-06 13:56:59 +02:00
Rafał Harabień
21b51af6d5
Fix nostd build
2018-06-04 22:41:38 +02:00
Rafał Harabień
242e650626
Reduce number of pub(crate) attributes
2018-06-03 16:44:12 +02:00
Rafał Harabień
282c40fad2
Implement proper short-name generation
2018-05-30 17:43:18 +02:00
Rafał Harabień
7c5541c2a9
Add test for lowercase SFN (short LFN encoded in SFN)
2018-05-30 01:39:34 +02:00
Rafał Harabień
d455540707
Add more unit tests
2018-05-30 01:33:01 +02:00
Rafał Harabień
0e96b05054
Add support for LFN encoding in SFN entries on WinNT
...
New Windows does not create LFN entries if name fits in 8.3 format and
letters in both basename and ext parts are all uppercase or all lowercase.
This commit fixes handling of lowercase letters.
2018-05-30 01:17:24 +02:00
Rafał Harabień
35d03daae9
Support no_std without alloc
2018-05-10 15:00:59 +02:00
Rafał Harabień
11b2a3b956
Basic no_std support
2018-05-10 01:00:24 +02:00
Rafał Harabień
73c6e9a461
Fix compilation without chromo
2018-05-09 22:58:05 +02:00
Rafał Harabień
681ee56cb3
Keep only BPB in FileSystem struct instead of entire BootRecord.
2017-11-08 19:41:05 +01:00
Rafał Harabień
4366b1836d
Add more comments in code.
2017-11-08 16:47:12 +01:00
Rafał Harabień
3f581835db
Code refactoring - no functional changes.
2017-11-08 16:03:08 +01:00
Rafał Harabień
3dc524759f
WIP dir_entry module?
2017-11-08 14:09:20 +01:00