MCPcopy Create free account
hub / github.com/ElementsProject/elements / exists

Function exists

src/fs.h:69–72  ·  view source on GitHub ↗

Disallow implicit std::string conversion for exists to avoid locale-dependent encoding on windows.

Source from the content-addressed store, hash-verified

67// Disallow implicit std::string conversion for exists to avoid
68// locale-dependent encoding on windows.
69static inline bool exists(const path& p)
70{
71 return std::filesystem::exists(p);
72}
73
74// Allow explicit quoted stream I/O.
75static inline auto quoted(const std::string& s)

Callers 15

AddUnbroadcastTxMethod · 0.85
ReadMethod · 0.85
HasNoInputsOfMethod · 0.85
TrimToSizeMethod · 0.85
AppInitMainFunction · 0.85
StartLoggingFunction · 0.85
IsBDBFileFunction · 0.85
IsSQLiteFileFunction · 0.85
VerifyMethod · 0.85
BackupMethod · 0.85
RestoreWalletFunction · 0.85
VerifyWalletsFunction · 0.85

Calls

no outgoing calls

Tested by 3

BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68