Skip to main content

parse_size

Function parse_size 

Source
pub fn parse_size(text: &str) -> Result<u64>
Expand description

Nx’s parseMaxCacheSize: a number of bytes with an optional KB, MB or GB unit, in powers of 1024.