FileFlags
Description
Enumeration of behaviour flags for files in a filesystem.
Exactly one of these flags must be specified:
Any of these flags can be specified in addition to the above creation flag:
- See also
Public / Constants
Temporary
Create a new temporary file, overwriting any existing one.
Temporary files are deleted automatically when closed.
- See also
MaskCreation
Bitmask for file flags that determine the creation disposition for the file.
The following flags fall within this bitmask:
Sequential
The file is accessed mostly sequentially.
When this flag is not present, file access is assumed to be random.
This is a hint for the underlying filesystem implementation to improve performance. It does not have any functional implications.
NoShare
Prohibits the file from being opened again, for example by other processes.
When opening the same file twice using the file flags A and B, a IOError.SharingViolation error will occur in these cases: