- Notifications
You must be signed in to change notification settings - Fork1.3k
Implement nt.listvolumes#5730
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
bfcd5ab
to679af3f
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
was there any related test for listvolumes?
Uh oh!
There was an error while loading.Please reload this page.
Yes, but it requires a different os function that doesn't exist, so it still fails. |
#[pyfunction] | ||
fn listvolumes(vm: &VirtualMachine) -> PyResult<PyListRef> { | ||
let mut volumes = vec![]; | ||
let mut buffer = [0u16; 257]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
If it is related to constant, is this possible?
letmut buffer =[0u16;257]; | |
letmut buffer =[0u16;MAX_PATH +1]; |
Uh oh!
There was an error while loading.Please reload this page.
nt.listvolumes
causes massive failuresnt._path_exists
and similar