vibe.d beta banner
get vibe.d

Asynchronous I/O that doesn’t get in your way, written in D

Enum FileMode

Specifies how a file is manipulated on disk.

enum FileMode : int { ... }

Enum members

appendThe file is opened for appending data to it and created if it does not exist.
createTruncThe file is truncated if it exists or created otherwise and then opened for read-write access.
readThe file is opened read-only.
readWriteThe file is opened for read-write random access.

Sönke Ludwig


© 2012-2014 RejectedSoftware e.K.


Subject to the terms of the MIT license, as written in the included LICENSE.txt file.