Most paths passed as configuration arguments are treated as relative to the datadir if they are not absolute.

Synopsis

Declared in <common/args.h>

fs::path
AbsPathForConfigVal(
    ArgsManager const& args,
    fs::path const& path,
    bool net_specific = true);

Return Value

The normalized path.

Parameters

Name

Description

args

Parsed arguments and settings.

path

The path to be conditionally prefixed with datadir.

net_specific

Use network specific datadir variant

Created with MrDocs