search for: getnativepath

Displaying 2 results from an estimated 2 matches for "getnativepath".

2018 Nov 15
3
"devirtualizing" files in the VFS
...he real FS). Adding facilities to use native IO together with VFS works against this, e.g. a likely interface is // Returns the OS-native path to the specified virtual file. // Returns None if Path doesn't describe a native file, or its path is unknown. Optional<string> FileSystem::getNativePath(string Path) Most potential uses of such a function are going to produce code that doesn't work well with arbitrary VFSes. Anecdotally, filesystems are confusing, and most features exposed by VFS end up getting misused if possible. So those are my reasons for pushing back on this change, but I...
2018 Nov 15
2
[cfe-dev] "devirtualizing" files in the VFS
...dding facilities to use native IO together with VFS works against this, e.g. a likely interface is > // Returns the OS-native path to the specified virtual file. > // Returns None if Path doesn't describe a native file, or its path is unknown. > Optional<string> FileSystem::getNativePath(string Path) > Most potential uses of such a function are going to produce code that doesn't work well with arbitrary VFSes. > Anecdotally, filesystems are confusing, and most features exposed by VFS end up getting misused if possible. > > So those are my reasons for pushing back o...