mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-02 02:00:03 +00:00
Update doc for AsyncExtracter::new
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
8a812c8d22
commit
00242a40c6
1 changed files with 2 additions and 2 deletions
|
@ -182,8 +182,8 @@ impl AsyncExtracter {
|
|||
/// * `fmt` - The format of the archive to feed in.
|
||||
/// * `desired_outputs - If Some(_), then it will filter the tar and
|
||||
/// only extract files specified in it.
|
||||
/// Note that it only works when `fmt` is not `PkgFmt::Bin` or
|
||||
/// `PkgFmt::Zip`.
|
||||
/// Note that this is a best-effort and it only works when `fmt`
|
||||
/// is not `PkgFmt::Bin` or `PkgFmt::Zip`.
|
||||
pub fn new<const N: usize>(
|
||||
path: &Path,
|
||||
fmt: PkgFmt,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue