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
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,8 @@ The format is based on [Keep a Changelog] and this project adheres to [Semantic
6
6
7
7
## [Unreleased]
8
8
9
-
* None
9
+
*`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.
10
+
* Renamed the old types to `RawVolume`, `RawDirectory` and `RawFile`
Copy file name to clipboardExpand all lines: README.md
+8-16Lines changed: 8 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