| 120 | } |
| 121 | |
| 122 | das::FileInfo * FsFileAccess::getNewFileInfo(const das::string & fileName) { |
| 123 | if ( locked ) return nullptr; |
| 124 | for ( auto & fs : fileSystems ) { |
| 125 | if ( auto info = fs.first->tryOpenFile(fileName) ) { |
| 126 | return setFileInfo(fileName, FileInfoPtr(info)); |
| 127 | } |
| 128 | } |
| 129 | return nullptr; |
| 130 | } |
| 131 | |
| 132 | bool FsFileAccess::addFsRoot ( const string & mod, const string & path ) { |
| 133 | auto & eroots = extraRoots[mod]; |
nothing calls this directly
no test coverage detected