When opening a file:
Constructors
AllowExistingThe file may already exist. If it does, it is reopened. If it doesn't, it is created.
MustBeNewThe file must not yet exist. If it does, an error (FsResourceAlreadyExist) is thrown.
MustExistThe file must already exist. If it does not, an error (FsResourceDoesNotExist) is thrown.
Note: If opening a file in ReadMode, then the file must exist or an exception is thrown.
Instances3Eq, Show, Condense
Eq AllowExistingDefined in fs-api-0.4.0.0 · System.FS.API.TypesShow AllowExistingDefined in fs-api-0.4.0.0 · System.FS.API.TypesCondense AllowExistingDefined in fs-api-0.4.0.0 · System.FS.API.Types