MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / letGoOfFileInfo

Method letGoOfFileInfo

src/simulate/debug_info.cpp:835–839  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

833 }
834
835 FileInfoPtr FileAccess::letGoOfFileInfo ( const string & fileName ) {
836 auto it = files.find(fileName);
837 if ( it == files.end() ) return nullptr;
838 return das::move(it->second);
839 }
840
841 FileInfo * FileAccess::setFileInfo ( const string & fileName, FileInfoPtr && info ) {
842 // TODO: test. for now we need to allow replace

Callers 1

compileBuiltinModuleMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected