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

Method Init

BeefBoot/BootApp.cpp:386–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384}
385
386bool BootApp::Init()
387{
388 char* cwdPtr = getcwd(NULL, 0);
389 mWorkingDir = cwdPtr;
390 free(cwdPtr);
391
392 if ((mTargetPath.IsEmpty()) && (mCESrc.IsEmpty()))
393 {
394 Fail("'Out' path not specified");
395 }
396
397 if (mRequestedSrc.IsEmpty())
398 {
399 Fail("No source specified");
400 }
401
402 return !mHadErrors;
403}
404
405void BootApp::QueueFile(const StringImpl& path, void* project)
406{

Callers 1

mainFunction · 0.45

Calls 4

FailFunction · 0.85
getcwdFunction · 0.50
freeFunction · 0.50
IsEmptyMethod · 0.45

Tested by

no test coverage detected