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

Method AddFileRebuild

IDEHelper/Compiler/CeMachine.cpp:3843–3860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3841}
3842
3843void CeContext::AddFileRebuild(const StringImpl& path)
3844{
3845 auto timeStamp = BfpFile_GetTime_LastWrite(path.c_str());
3846 if (timeStamp != 0)
3847 {
3848 String fixedPath = FixPathAndCase(path);
3849
3850 CeRebuildKey rebuildKey;
3851 rebuildKey.mKind = CeRebuildKey::Kind_File;
3852 rebuildKey.mString = fixedPath;
3853
3854 CeRebuildValue rebuildValue;
3855 rebuildValue.mInt = timeStamp;
3856
3857 if (AddRebuild(rebuildKey, rebuildValue))
3858 mCurModule->mCompiler->mRebuildFileSet.Add(fixedPath);
3859 }
3860}
3861
3862void CeContext::AddTypeSigRebuild(BfType* type)
3863{

Callers

nothing calls this directly

Calls 3

c_strMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected