-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Splits out the attach method into three convinence function
attach_file: attach a whole file aka offset: 0, size: 0 attach_with_offset: attach at a given offset attach_with_size: attach at a given offset with a given size The attach method has also been deprecrated infavour of these new methods.
- Loading branch information
Showing
2 changed files
with
62 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "loopdev" | ||
description = "Setup and control loop devices" | ||
version = "0.1.3" | ||
version = "0.2.0" | ||
authors = ["Michael Daffin <[email protected]>"] | ||
license = "MIT" | ||
documentation = "https://docs.rs/loopdev" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters