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

Method QueuePath

BeefBoot/BootApp.cpp:432–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430}
431
432void BootApp::QueuePath(const StringImpl& path)
433{
434 if (DirectoryExists(path))
435 {
436 for (auto& fileEntry : FileEnumerator(path, FileEnumerator::Flags_Files))
437 {
438 String filePath = fileEntry.GetFilePath();
439
440 String fileName;
441 fileName = GetFileName(filePath);
442
443 QueueFile(filePath, (mCELibProject != NULL) ? mCELibProject : mProject);
444 }
445
446 for (auto& fileEntry : FileEnumerator(path, FileEnumerator::Flags_Directories))
447 {
448 String childPath = fileEntry.GetFilePath();
449 String dirName;
450 dirName = GetFileName(childPath);
451
452 if (dirName == "build")
453 continue;
454
455 QueuePath(childPath);
456 }
457 }
458 else
459 {
460 QueueFile(path, mProject);
461 }
462}
463
464static void CompileThread(void* param)
465{

Callers

nothing calls this directly

Calls 2

FileEnumeratorClass · 0.85
GetFilePathMethod · 0.45

Tested by

no test coverage detected