| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| 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 | ||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| 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 | |||||||||
| Attached Files |
| ||||||||
Notes |
|
|
hoijui (reporter) 2011-03-26 16:27 |
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. |
|
jK (developer) 2011-03-26 16:35 |
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. |
Issue History |
|||
| 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 |


