You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently OS files are always opened in read/write mode. In cases where files are not writable to the process this causes problems. It would be good to have some way to accomodate read only OS files.
The text was updated successfully, but these errors were encountered:
@aucampia - my first thought was to include this as an option as well. It might just need a bit of thought on how error handling works for some of the vfs.File interface methods when the option is enabled.
Perhaps an alternative is to make the getInternalFile() function take the file mode, and then let the consumers of that getInternalFile function (vfs.Read(), vfs.Write(), etc...) pass the required modes to perform that operation. A hybrid approach might work as well.
Currently OS files are always opened in read/write mode. In cases where files are not writable to the process this causes problems. It would be good to have some way to accomodate read only OS files.
The text was updated successfully, but these errors were encountered: