Skip to main content

max_size

Function max_size 

Source
pub fn max_size(configured: Option<&Value>, cache: &Path) -> Result<Option<u64>>
Expand description

The size limit: NX_MAX_CACHE_SIZE, then nx.json maxCacheSize, then, as in Nx, a tenth of the disk holding the cache. None when the limit is 0, which means unlimited.