OpenFlags.NONE: Nothing
OpenFlags.DELETE: Open a new file, deleting any existing file
OpenFlags.FORCE: Ignore file usage rules
OpenFlags.NEW: Open the file only if it does not already exist
OpenFlags.READ: Open only for reading
OpenFlags.UPDATE: Open for reading and writing
OpenFlags.REFRESH: Refresh the cached information on file location.
Voids NoWait.
OpenFlags.MAKEPATH: Create directory path if it doesn’t already exist
OpenFlags.APPEND: Open only for appending
OpenFlags.REPLICA: The file is being opened for replica creation
OpenFlags.POSC: Enable Persist On Successful Close processing
OpenFlags.NOWAIT: Open the file only if it does not cause a wait.
For
XRootD.client.FileSystem.locate() :
provide a location as soon as one becomes known.
This means that not all locations are necessarily
returned. If the file does not exist a wait is
still imposed.
OpenFlags.SEQIO: File will be read or written sequentially