2025-07-18 05:28 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002380Spring engineGeneralpublic2011-08-08 12:40
ReporterjK 
Assigned Tohoijui 
PrioritylowSeverityfeatureReproducibilityN/A
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0002380: [feature request] more efficient CFileHandler::FileExists
DescriptionCurrently it loads the whole file into a buffer. There should be a way to check the existence w/o opening the file.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0006514

hoijui (reporter)

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.

~0006515

jK (developer)

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.
+Notes

-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
+Issue History