You can now use GetStatData to get all of the stat data for a file (its timestamps, size, read-only state, and type (file or directory)) in a single file-system request. Depending on the platform, this can be much more efficient than making multiple requests.
This change also adds alternate directory iteration functions (IterateDirectoryStat and IterateDirectoryStatRecursive) for when you need the stat data along with the files/directories on disk. For platforms that provide this stat data as part of the low-level directory iteration (such as Windows), this can yield much better performance than making two separate file-system requests. Platforms that do not provide this information as part of the directory iteration will just perform a stat request while iterating.
#platformnotify Josh.Adams
[CL 2634161 by Jamie Dale in Main branch]
- Currently essential on Windows only; other platforms may make use of this when managing file handles.
#codereview Eric.Newman, Robert.Manuszewski, Josh.Adams, Michael.Trepka, Chris.Babcock, Marcus.Wassmer, Peter.Sauerbrei
[CL 2480709 by Dmitry Rekman in Main branch]
#change Removed GGameName usage from code and replaced it with FApp::*GameName API
#change Added FApp::SetGameName(), FApp::IsGameNameEmpty()
#change Added IFileManager::GetFilenameOnDisk to get the correct case of a filename on disk
#change Renamed GGameName to GInternalGameName
[CL 2328446 by Robert Manuszewski in Main branch]
Remove async read/write path for now - the server never supported really supported full duplex so the extra complexity is probably not worth it. Need to rethink how async path should work.
[CL 2109385 by Ankit Khare in Main branch]
TTP: 318779 HTML5: Network File System.
Allow the network file system to also serve HTTP clients besides TCP, defaults to TCP.
- Refactor NFS to avoid socket depedency in code path, provide switchable implementations for the transport used.
- Remove INetworkFileServerConnection Interface, was not being used publically.
- WIP: Build improvments, more testing for target HTML5 platform, comments, support on Mac and Linux Platforms.
#codereview: peter.sauerbrei
[CL 2103382 by Ankit Khare in Main branch]