MCPcopy Create free account
hub / github.com/beefytech/Beef / FileEnumerator

Method FileEnumerator

BeefySysLib/util/FileEnumerator.cpp:48–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48FileEnumerator::FileEnumerator(const String& dirPath, Flags flags)
49{
50 mDirPath = dirPath;
51 mFindData = BfpFindFileData_FindFirstFile((dirPath + "/*.*").c_str(), (BfpFindFileFlags)flags, NULL);
52 mFlags = flags;
53 if (mFindData != NULL)
54 mIdx = 0;
55 else
56 mIdx = -1;
57}
58
59FileEnumerator::~FileEnumerator()
60{

Callers

nothing calls this directly

Calls 2

c_strMethod · 0.45

Tested by

no test coverage detected