argmax

Crates.ioargmax
lib.rsargmax
version0.3.1
sourcesrc
created_at2022-01-23 12:06:40.202604
updated_at2022-09-04 13:09:46.744919
description Rust library to deal with 'argument too long' errors
homepagehttps://github.com/sharkdp/argmax
repositoryhttps://github.com/sharkdp/argmax
max_upload_size
id519643
size34,324
David Peter (sharkdp)

documentation

README

argmax

Version info CICD

argmax is a library that allows Rust applications to avoid Argument list too long errors (E2BIG) by providing a std::process::Command wrapper with a

fn try_arg<S: AsRef<OsStr>>(&mut self, arg: S) -> io::Result<&mut Self>

function that returns a proper Error if arg would overflow the maximum size.

Resources

This library draws inspiration from the following sources. The implementation is based on the corresponding functionality in bfs [1].

License

Licensed under either of

at your option.

Commit count: 49

cargo fmt