v.vcache: improve the output of `-d trace_usecache_n`
parent
a942ecf737
commit
82594c0156
|
@ -39,7 +39,7 @@ pub fn new_cache_manager(opts []string) CacheManager {
|
||||||
if vcache_basepath == '' {
|
if vcache_basepath == '' {
|
||||||
vcache_basepath = os.join_path(os.vmodules_dir(), 'cache')
|
vcache_basepath = os.join_path(os.vmodules_dir(), 'cache')
|
||||||
}
|
}
|
||||||
nlog(@FN, 'vcache_basepath: $vcache_basepath | opts:\n $opts')
|
nlog(@FN, 'vcache_basepath: $vcache_basepath\n opts: $opts\n os.args: ${os.args.join(' ')}')
|
||||||
dlog(@FN, 'vcache_basepath: $vcache_basepath | opts:\n $opts')
|
dlog(@FN, 'vcache_basepath: $vcache_basepath | opts:\n $opts')
|
||||||
if !os.is_dir(vcache_basepath) {
|
if !os.is_dir(vcache_basepath) {
|
||||||
os.mkdir_all(vcache_basepath) or { panic(err) }
|
os.mkdir_all(vcache_basepath) or { panic(err) }
|
||||||
|
|
Loading…
Reference in New Issue