View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002380 | Spring engine | General | public | 2011-03-17 17:35 | 2011-08-08 12:40 |
| Reporter | jK | Assigned To | hoijui | ||
| Priority | low | Severity | feature | Reproducibility | N/A |
| Status | resolved | Resolution | fixed | ||
| Summary | 0002380: [feature request] more efficient CFileHandler::FileExists | ||||
| Description | Currently it loads the whole file into a buffer. There should be a way to check the existence w/o opening the file. | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
i have added FileExists(vfsPath) methods to VFSHandler and ArchiveBase. Maybe that is already enough? It is more efficient to use vfsHandler->FileExists(path) then CFileHandler(path)->FileExists(path), even if i make CFileHandler->FileExists(path) use vfsHandler->FileExists(path) internally. It also makes more sense i would say. |
|
|
yeah, it's ways better this way, still there is one problem with this solution if I read the code correctly it doesn't find new files on the raw filesystem. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-03-17 17:35 | jK | New Issue | |
| 2011-03-26 12:59 | hoijui | Status | new => assigned |
| 2011-03-26 12:59 | hoijui | Assigned To | => hoijui |
| 2011-03-26 16:27 | hoijui | Note Added: 0006514 | |
| 2011-03-26 16:35 | jK | Note Added: 0006515 | |
| 2011-08-08 12:40 | jK | Status | assigned => resolved |
| 2011-08-08 12:40 | jK | Resolution | open => fixed |