MCPcopy Create free account
hub / github.com/boostorg/build / cache_maxage

Function cache_maxage

src/engine/hcache.cpp:114–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 */
113
114static int cache_maxage( void )
115{
116 int age = 100;
117 LIST * const var = var_get( root_module(), constant_HCACHEMAXAGE );
118 if ( !list_empty( var ) )
119 {
120 age = atoi( object_str( list_front( var ) ) );
121 if ( age < 0 )
122 age = 0;
123 }
124 return age;
125}
126
127
128/*

Callers 1

hcache_doneFunction · 0.85

Calls 3

var_getFunction · 0.85
root_moduleFunction · 0.85
object_strFunction · 0.85

Tested by

no test coverage detected