| 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 |
no test coverage detected