Merge pull request #4985 from vlad1777d/patch-1

added description to fmWrite mode to be more exact
This commit is contained in:
Andreas Rumpf 2016-11-01 22:09:05 +01:00 • committed by GitHub
commit 9a1c87d6bf

View file

@ -2629,6 +2629,8 @@ when not defined(JS): #and not defined(nimscript):
FileMode* = enum ## The file mode when opening a file. FileMode* = enum ## The file mode when opening a file.
fmRead, ## Open the file for read access only. fmRead, ## Open the file for read access only.
fmWrite, ## Open the file for write access only. fmWrite, ## Open the file for write access only.
## If the file does not exist, it will be
## created.
fmReadWrite, ## Open the file for read and write access. fmReadWrite, ## Open the file for read and write access.
## If the file does not exist, it will be ## If the file does not exist, it will be
## created. ## created.