pub fn parse_single_value(file_path: &Path) -> Result<u64, WrappedIoError>Expand description
Parses a single valued file to an u64
§Example
use std::path::Path;
use libcgroups::stats::parse_single_value;
let value = parse_single_value(&Path::new("memory.current")).unwrap();
assert_eq!(value, 32);