Retrieves a pointer to an open file object from the file cache with the filename as the cache key. Returns a handle to the looked up entry. The handle may or may not contain an open file, depending on whether the cache hit or missed.
| 144 | // Returns a handle to the looked up entry. The handle may or may not contain |
| 145 | // an open file, depending on whether the cache hit or missed. |
| 146 | ScopedOpenedDescriptor<FileType> LookupFromCache() const { |
| 147 | return ScopedOpenedDescriptor<FileType>( |
| 148 | this, cache()->Lookup(filename(), Cache::EXPECT_IN_CACHE)); |
| 149 | } |
| 150 | |
| 151 | // Mark this descriptor as to-be-deleted later. |
| 152 | void MarkDeleted() { |
no test coverage detected