-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add null source to diff bindings #203
Comments
Stdio::null() is used to ignore any io sent to a child process created by |
I did reread what is said in that issue and I do believe that he is not referring to using |
Yes, the whole point is to specify a non-existent file. It is possible to specify an empty file some other way, but this may break original patch/diff support. |
This is probably related to changeutils/diff-rs#6 |
https://superuser.com/questions/134214/is-there-an-equivalent-to-dev-null-in-windows but regardless, Cmder is basically "Linux"
that's everything afaict. win and droid aren't on any major departure, given Cmder and Termux
this makes a lot of sense.. I think it should go in sys/null or something rather than fs |
This will be much cleaner, than using something like |
But it's clear we don't need the bindings for null device. |
k. renamed |
Implemented in 02d58da |
https://doc.rust-lang.org/std/process/struct.Stdio.html#method.null
from #174
//cc @sineemore
The text was updated successfully, but these errors were encountered: