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]
Fixes bug where Fortnite cooked builds being unable to open log files through PlatformFilePak since they are open for write.
Merged //depot/UE4-Fortnite/Engine/Source/Runtime/... to //depot/UE4/Engine/Source/Runtime/...
[CL 2580616 by Eric Newman 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]
Fix CreateDirectory to support multiple drive letters on Xbox One.
Fix some full path stomping on Xbox One.
Log to developer scratch partition by default on Xbox One.
[CL 2352498 by Jeff Campeau 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]