Adds crate::os:read_inodes() method to read the output of df -i into a vector of DiskInodeUsages.
A quick word on fixtures/linux/disk_usage/df_garbage: I changed the fixture, as parse_percentage_segment (containing the Err that would make the test pass normally) is not called by parse_df_output anymore; it's called a level up instead.
Adds
crate::os:read_inodes()
method to read the output ofdf -i
into a vector ofDiskInodeUsage
s.A quick word on
fixtures/linux/disk_usage/df_garbage
: I changed the fixture, asparse_percentage_segment
(containing theErr
that would make the test pass normally) is not called byparse_df_output
anymore; it's called a level up instead.Closes #43.