MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / split_nettop_csv_line

Function split_nettop_csv_line

packages/server/src/performance.rs:905–909  ·  view source on GitHub ↗
(line: &str)

Source from the content-addressed store, hash-verified

903}
904
905fn split_nettop_csv_line(line: &str) -> Vec<String> {
906 line.split(',')
907 .map(|field| field.trim().trim_matches('"').to_owned())
908 .collect()
909}
910
911fn parse_nettop_byte_value(value: &str) -> Option<u64> {
912 let value = value.trim().trim_matches('"').replace('_', "");

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected