MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / GetPidFile

Function GetPidFile

src/init.cpp:199–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197static bool g_generated_pid{false};
198
199static fs::path GetPidFile(const ArgsManager& args)
200{
201 return AbsPathForConfigVal(args, args.GetPathArg("-pid", BITCOIN_PID_FILENAME));
202}
203
204[[nodiscard]] static bool CreatePidFile(const ArgsManager& args)
205{

Callers 2

CreatePidFileFunction · 0.85
RemovePidFileFunction · 0.85

Calls 2

AbsPathForConfigValFunction · 0.85
GetPathArgMethod · 0.80

Tested by

no test coverage detected