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

Method FileName

src/flatfile.cpp:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30fs::path FlatFileSeq::FileName(const FlatFilePos& pos) const
31{
32 return m_dir / fs::u8path(strprintf("%s%05u.dat", m_prefix, pos.nFile));
33}
34
35FILE* FlatFileSeq::Open(const FlatFilePos& pos, bool read_only) const
36{

Callers 4

BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
UnlinkPrunedFilesMethod · 0.80
GetBlockPosFilenameMethod · 0.80

Calls 1

u8pathFunction · 0.85

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64