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

Method FileName

src/flatfile.cpp:28–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

BOOST_AUTO_TEST_CASEFunction · 0.80
UnlinkPrunedFilesFunction · 0.80
GetBlockPosFilenameFunction · 0.80

Calls

no outgoing calls

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64