Optimize examples/fs_info and add path validity checks#54
Optimize examples/fs_info and add path validity checks#54wu-zhao-min wants to merge 1 commit intoknorrie:masterfrom
Conversation
|
Hi! Thanks, this makes sense yes. :-) One less ugly error message. The stuff in examples/ is quite yolo, I mainly quickly created things to test some new functionality, since there's no proper automated test coverage yet. (Shame on me!). But yeah, I chose to do the whole big project of writing all of the API documentation first. I have one minor remark: technically, btrfs allows calling IOCTL functions using any open file descriptor to anything that has an inode in the filesystem, not only directories. So, you can even do The very short help text uses |
Optimize examples/fs_info and add path validity checks