You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+28-1Lines changed: 28 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,32 @@ The format is based on [Keep a Changelog] and this project adheres to [Semantic
8
8
9
9
* None
10
10
11
+
## [Version 0.7.0] - 2024-02-04
12
+
13
+
## Changed
14
+
15
+
-__Breaking Change__: `Volume`, `Directory` and `File` are now smart! They hold references to the thing they were made from, and will clean themselves up when dropped. The trade-off is you can can't open multiple volumes, directories or files at the same time.
16
+
-__Breaking Change__: Renamed the old types to `RawVolume`, `RawDirectory` and `RawFile`
17
+
-__Breaking Change__: Renamed `Error::FileNotFound` to `Error::NotFound`
18
+
- Fixed long-standing bug that caused an integer overflow when a FAT32 directory was longer than one cluster ([#74])
19
+
- You can now open directories multiple times without error
20
+
- Updated to [embedded-hal] 1.0
21
+
22
+
## Added
23
+
24
+
-`RawVolume`, `RawDirectory` and `RawFile` types (like the old `Volume`, `Directory` and `File` types)
25
+
- New method `make_dir_in_dir`
26
+
- Empty strings and `"."` convert to `ShortFileName::this_dir()`
27
+
- New API `change_dir` which changes a directory to point to some child directory (or the parent) without opening a new directory.
28
+
- Updated 'shell' example to support `mkdir`, `tree` and relative/absolute paths
Copy file name to clipboardExpand all lines: README.md
+14-16Lines changed: 14 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ designed for readability and simplicity over performance.
11
11
You will need something that implements the `BlockDevice` trait, which can read and write the 512-byte blocks (or sectors) from your card. If you were to implement this over USB Mass Storage, there's no reason this crate couldn't work with a USB Thumb Drive, but we only supply a `BlockDevice` suitable for reading SD and SDHC cards over SPI.
12
12
13
13
```rust
14
-
// Build an SD Card interface out of an SPI device, a chip-select pin and a delay object
14
+
// Build an SD Card interface out of an SPI device, a chip-select pin and the delay object
0 commit comments